Re: UIImageView Animation Question
Re: UIImageView Animation Question
- Subject: Re: UIImageView Animation Question
- From: David Duncan <email@hidden>
- Date: Thu, 26 Nov 2009 10:13:03 -0800
On Nov 25, 2009, at 3:49 PM, Philip Vallone wrote:
> CGContextRef context = UIGraphicsGetCurrentContext();
> [UIView beginAnimations:@"moveImageDown" context:context];
> [UIView setAnimationDuration:1.0];
> [imageView setCenter:CGPointMake(295, 480 / 2 )];
> [UIView commitAnimations];
Keep in mind that the call to UIGraphicsGetCurrentContext() here is superfluous, and likely returning NULL. You can remove it without making any change on the behavior of your code.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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