Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-18-2010, 03:41 AM   #5 (permalink)
bharath2020
iOS / MacOS Developer
 
bharath2020's Avatar
 
Join Date: Oct 2008
Location: Bengaluru
Posts: 151
bharath2020 is on a distinguished road
Default

Quote:
[self.view addSubview:touchedPointImageView];
Are you sure you are removing touchedPointImageView from its superview after animation?

for eg:

Code:
[touchedPointImageView removeFromSuperview];
Although there is no leak in your code snippet, if you do not remove the imageview from superview, you would end up creating a pool of imageviews which is released only when your self.view releases.


The better approach to this problem is to create the imageview once, and then play with its alpha and hidden property to hide and show the imageview.

Hope this Helps
__________________
Bharath
iOS Blog : http://iphone2020.wordpress.com
bharath2020 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,542
Threads: 94,065
Posts: 402,676
Top Poster: BrianSlick (7,989)
Welcome to our newest member, DieScumBag
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:41 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.