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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/lists%40chipmunk-app.com

This email sent to li...@chipmunk-app.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to