On Jan 29, 2009, at 10:24 AM, nasser salami wrote:

Hello,
im a newbie iphone developer and i m trying to smoothly scale an image view up and then return to the original state. here what i did but it did not
work :

so can you tell what it is that i did wrong? i'm sorry if it sounded stupid.
thanks

Assuming that all that is done one after the other, you just asked the view to scale up to 5x in size, and then before it could actually do so to scale back down to 1x in size. If you want to do it this way, then you will have to use the animation delegate and +setAnimationDidStopSelector: to be notified when the animation completes before you ask the view to scale back down to 1x.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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