[iPhone 3.0] correct way to release a UIImageView flip animation?
[iPhone 3.0] correct way to release a UIImageView flip animation?
- Subject: [iPhone 3.0] correct way to release a UIImageView flip animation?
- From: John Michael Zorko <email@hidden>
- Date: Sat, 08 Aug 2009 20:14:22 -0700
Hello, all ...
I'm running a little test right now on my iPod Touch, where i'm
loading a flip animation (49 PNGs), playing it and unloading it every
10 seconds. I see what appears to be a memory leak in Instruments,
though -- perhaps 2K every time I play an animation.
My question -- what is the correct way to release the UIImageView's
animatedImages array? I assign an NSMutableArray to it, play the
animation, then set the UIImageView's animatedImages to nil. I then
release the NSMutableArray and recreate it. Is this correct?
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
_______________________________________________
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