• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Animating UIScrollView frame change without moving contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Crash in -URLByResolvingBookmarkData::::: in sandboxed app
  • Next by Date: Re: Animating UIScrollView frame change without moving contents
  • Previous by thread: Re: Crash in -URLByResolvingBookmarkData::::: in sandboxed app
  • Next by thread: Re: Animating UIScrollView frame change without moving contents
  • Index(es):
    • Date
    • Thread