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 :

//code start

[UIView beginAnimations:nil context:null];

[UIView setAnimationDuration:0.5];

CGAffineTransform transform = CGAffineTransformMakeScale(5,5);

myView.transform = transform;
[UIView commitAnimations];

// now to scale down
 [UIView beginAnimations:nil context:null];

[UIView setAnimationDuration:0.5];

CGAffineTransform transform2 = CGAffineTransformIdentity

myView.transform = transform2;
[UIView commitAnimations];
//code end

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

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