CGAffintransform and UIImage Views
CGAffintransform and UIImage Views
- Subject: CGAffintransform and UIImage Views
- From: nasser salami <email@hidden>
- Date: Thu, 29 Jan 2009 21:24:18 +0300
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 (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