Re: When I rotate the MKMapView with transform, setCenter not working.

2014-10-31 Thread sonofsky2...@gmail.com
Hi, I have solved this problem. Do not change the frame of map view when it’s transform does not equal to CGAffineTransformIdentity. Best Regards, Sunny Lee 在 2014年10月31日,上午12:54,sonofsky2...@gmail.com 写道: Hi all, I rotate the MKMapView with setting the rotation transform. When I

Re: When I rotate the MKMapView with transform, setCenter not working.

2014-10-31 Thread Mike Abdullah
On 31 Oct 2014, at 11:43, sonofsky2...@gmail.com wrote: Hi, I have solved this problem. Do not change the frame of map view when it’s transform does not equal to CGAffineTransformIdentity. This is a general rule about UIView. Once the transform is anything other than identity, .frame

When I rotate the MKMapView with transform, setCenter not working.

2014-10-30 Thread sonofsky2...@gmail.com
Hi all, I rotate the MKMapView with setting the rotation transform. When I use setCenter method to change the center coordinate of the map, the location of this coordinate not in the center. Does anyone know what happened, and how to solve this problem? Below is the code snipt. -