Re: Layer-hosting views and layer-backed scroll views
Re: Layer-hosting views and layer-backed scroll views
- Subject: Re: Layer-hosting views and layer-backed scroll views
- From: Kyle Sluder <email@hidden>
- Date: Mon, 24 May 2010 14:24:00 -0700
On Fri, May 21, 2010 at 3:20 PM, Kyle Sluder <email@hidden> wrote:
> I'm hoping I've done something wrong in setting up the layer. Is it
> perhaps because of the way I've turned off the redraw policy and set
> the layer resizing behavior? The documentation seems to imply that I
> have done the correct thing (setting the "resize independently"
> behavior and turning off layer redraw).
Nothing I do to -setLayerContentsPlacement: and/or
-setLayerContentsRedrawPolicy: (including doing nothing at all) is
able to fix the issue. The only thing I've gotten to work is to do a
delay-perform of -_updateLayerGeometryFromView, wrapped in a
CATransaction whose disableActions=YES. Even then, results are
suboptimal since the layer starts out positioned incorrectly and snaps
into the right spot on the next window refresh.
At this point, I don't think there's anything further I can do to work
around this bug.
--Kyle Sluder
_______________________________________________
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