Re: When I rotate the MKMapView with transform, setCenter not working.
Re: When I rotate the MKMapView with transform, setCenter not working.
- Subject: Re: When I rotate the MKMapView with transform, setCenter not working.
- From: Mike Abdullah <email@hidden>
- Date: Fri, 31 Oct 2014 11:48:24 +0000
> On 31 Oct 2014, at 11:43, email@hidden 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 becomes undefined and should be left alone.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden