On Apr 2, 2013, at 13:25 , Markus Spoettl <[email protected]> wrote:

> 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).

Isn't it a mistake to tie this to rotation? IIRC there are other reasons the 
root view might be resized (e.g. squished to make room for the status bar or 
not? notifications?). You probably want to adjust your child view location in 
those cases too.

IAC you might be safer to avoid using the frame. If there's a transform 
involved in the view's rotation, then the frame property will be meaningless. 
(But IDK if there's actually a transform applied to the view during rotation, 
or whether there's just a rotating animation.)

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to