Re: [iPhone] Abort/remove all running/pending animations [SOLVED]
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