Re: Reliably getting the screen scale
Re: Reliably getting the screen scale
- Subject: Re: Reliably getting the screen scale
- From: Rick Mann <email@hidden>
- Date: Fri, 16 Aug 2013 16:28:31 -0700
On Aug 16, 2013, at 16:26 , Kyle Sluder <email@hidden> wrote:
> Since -setWindow: doesn't exist, I'd suggest overriding -viewWillMoveToWindow: to render and apply your mask. That way when your view comes on screen it will have the correct mask already. Call the same code from -layoutSubviews if necessary.
Oh, thanks! I skimmed through the list of methods looking for just that, but didn't see it. Pedantically, it's -willMoveToWindow:
Thanks!
--
Rick
_______________________________________________
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