• 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: [iPhone] Abort/remove all running/pending animations [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Abort/remove all running/pending animations [SOLVED]


  • Subject: Re: [iPhone] Abort/remove all running/pending animations [SOLVED]
  • From: Ruotger Skupin <email@hidden>
  • Date: Tue, 17 Feb 2009 13:20:11 +0100

To answer my own question:

+[UIView setAnimationsEnabled:];

BUT !!!1!eleven!!one!

-[UIScrollView setContentOffset: animated:] messes also with +[UIView setAnimationsEnabled:] whether or not you use animated. So when getting the scrollViewDidEndZooming:withView:atScale: delegate callback call, reorder your content subviews so that the zoomed view stays where it is already and use the contentInset property creatively. Do not use -[UIScrollView setContentOffset: animated:] in that delegate callback call.

Hope that helps people running into the same problem

Ruotger


Am 12.02.2009 um 11:57 schrieb Ruotger Skupin:

Hi,

I'm resizing and moving the content of a UIScrollView in the - scrollViewDidEndZooming:withView:atScale: method including the removing/adding of views. This usually results in the content bouncing more or less uncontrollable.

My question:

Is it possible to remove/abort *all* (really all) pending/running animations (especially those in UIScrollView) to reorder all the views and start custom animations from there?

Ruotger


_______________________________________________

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

_______________________________________________

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


References: 
 >[iPhone] Abort/remove all running/pending animations (From: Ruotger Skupin <email@hidden>)

  • Prev by Date: Re: NSTimer: Test Results
  • Next by Date: Multiple instances of NSApp/NSApplicationLoad()
  • Previous by thread: [iPhone] Abort/remove all running/pending animations
  • Next by thread: Reading packets from an audio file
  • Index(es):
    • Date
    • Thread