On Feb 19, 2014, at 09:01 , Kyle Sluder <[email protected]> wrote: > 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.
I tried that, too. Same behavior. When you adjust the top of the left, the content moves relative to the top-left corner. I tried changing the contentOffset at the same time, to no avail. > >> 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. Sorry, I KVO my map view's frame. This seems to work (except for the animated movements). -- Rick
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ 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]
