Re: UIView final frame after device rotation
Re: UIView final frame after device rotation
- Subject: Re: UIView final frame after device rotation
- From: Markus Spoettl <email@hidden>
- Date: Tue, 02 Apr 2013 22:25:54 +0200
On 4/2/13 8:37 PM, David Duncan wrote:
I have a hard time figuring out how to get the frame (in the window
coordinate system) a view will rotate to, when the rotation has just
begun.
What are you trying to do?
Typically you don't need to worry about this. The root view controller's view
will have its frame set properly by UIKit, and then all of your other views
will resize with respect to that view's bounds, and as such you don't need to
know how to get the final frame of that view.
I'm displaying an overlay window which is "attached" to the view in question.
When the rotation takes place, it needs to realign itself so that it's new
location agrees with what the view displays (in my context).
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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