Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 46

Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
08/12/13 10:52 AM (12 years ago)

Force a dealloc in HTML Doc plugin?

The HTML Doc plugin works great. Nevertheless, if I call it about thirty some times in sequence my app disappears when testing on the device. I assume it doesn´t happen on the simulator due that it has more memory. Is there anyway I can force a full deallocation of memory faster than the default in the plugin? Thanks! -Pancho
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/25/13 08:16 AM (12 years ago)
You might try calling the dealloc method from a 'viewWillDisappear' or something similar...? http://stackoverflow.com/questions/9977726/viewwilldisappear-viewwillunload-viewdidunload-never-called Cheers! -- Smug
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
08/26/13 08:42 AM (12 years ago)
Thanks Smug, will research that route! --Pancho
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.