Re: CALayer contentScale initialization, where to do it?
Re: CALayer contentScale initialization, where to do it?
- Subject: Re: CALayer contentScale initialization, where to do it?
- From: David Duncan <email@hidden>
- Date: Sun, 17 Jun 2012 08:47:14 -0700
Same concept applies. Set it when you assign the layer or add the view.
--
David Duncan @ My iPhone
On Jun 17, 2012, at 12:55 AM, Markus Spoettl <email@hidden> wrote:
> On 6/17/12 9:15 AM, David Duncan wrote:
>> contentsScale won't matter until you the layer into a window, so why not just assign it when you add the layer as a sublayer?
>
> That works for sub-layers if the root has been set up already, but when do you suggest to set the view's root layer contentsScale?
>
> 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