Re: Animating UIScrollView frame change without moving contents
Re: Animating UIScrollView frame change without moving contents
- Subject: Re: Animating UIScrollView frame change without moving contents
- From: Kyle Sluder <email@hidden>
- Date: Wed, 19 Feb 2014 09:01:31 -0800
On Tue, Feb 18, 2014, at 06:00 PM, Rick Mann wrote:
> I tried to set the contentOffset in the same animation block, but that
> just makes the content move smoothly.
Don't move the scroll view. Have the banner appear over the scroll view
and change the scroll view's contentInset instead.
> Exacerbating things is that I KVO the contentOffset and update a bunch of
> stuff in an overlay view, and none of that animates.
contentOffset is not KVO-compliant. Do not observe contentOffset.
--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