NimbleKit - fast iOS app development

destroy/unload a page

Ask questions and share your skills here

destroy/unload a page

Postby eras3r » Tue Jun 05, 2012 5:37 pm

Hi guys,

is there a way to destroy or unload a page within NimbleKit? I would like to prevent memory issues and this seems the only real way to resolve the problem.
I attempted to use jquery remove/empty to clean the page content but the memory looked still allocated.

Any ideas about?

Thanks
User avatar
eras3r
 
Posts: 169
Joined: Fri Nov 20, 2009 10:53 pm

Re: destroy/unload a page

Postby LucasBishop » Wed Jun 06, 2012 4:08 pm

I need this answer too .. I did get warnings related to memory in my ipad application..
User avatar
LucasBishop
 
Posts: 16
Joined: Thu Apr 15, 2010 9:10 am

Re: destroy/unload a page

Postby eras3r » Wed Jun 06, 2012 4:45 pm

iPad 1 or iPad2/3?
User avatar
eras3r
 
Posts: 169
Joined: Fri Nov 20, 2009 10:53 pm

Re: destroy/unload a page

Postby rouillip » Wed Jun 06, 2012 11:04 pm

Not sure, but i feel when you load a new page in Nimblekit, the previous page is fully destroyed.
NimbleKit Registered user U885740601
User avatar
rouillip
NimbleKit Expert
 
Posts: 267
Joined: Wed Jan 13, 2010 9:38 am
Location: Paris 75018 (France)

Re: destroy/unload a page

Postby LucasBishop » Fri Jun 08, 2012 9:54 am

eras3r wrote:iPad 1 or iPad2/3?


its giving memory warning when you navigate 20 pages at ipad 1, 40 or 50 pages at ipad 2 and ipad 3..
After a few warnings application crashing..

Apple, approved the my applications, but still this is a problem for me...
User avatar
LucasBishop
 
Posts: 16
Joined: Thu Apr 15, 2010 9:10 am

Re: destroy/unload a page

Postby francisco » Fri Jun 08, 2012 10:52 am

Hi,

rouillip wrote:Not sure, but i feel when you load a new page in Nimblekit, the previous page is fully destroyed.


NK cached pages for a best load. Each page have their own WebView.
I don't know how destroy a page.

Regards.
Francisco.
User avatar
francisco
NimbleKit Guru
 
Posts: 163
Joined: Thu Dec 01, 2011 12:45 pm
Location: Barcelona, Spain

Re: destroy/unload a page

Postby Eviserator » Fri Jun 08, 2012 1:41 pm

LucasBishop wrote:
eras3r wrote:iPad 1 or iPad2/3?


its giving memory warning when you navigate 20 pages at ipad 1, 40 or 50 pages at ipad 2 and ipad 3..
After a few warnings application crashing..

Apple, approved the my applications, but still this is a problem for me...


Maybe re-writing your page(s) so they are dynamic. Basically reuse the same page that can read in parameters and become the new page.
Skip Potter, Live a mobile life...
web: http://www.pottertech.com
NK Registered: U797426801
User avatar
Eviserator
NimbleKit Guru
 
Posts: 294
Joined: Sun Jan 24, 2010 7:59 am
Location: Woodbridge, Virginia

Re: destroy/unload a page

Postby eras3r » Fri Jun 08, 2012 5:09 pm

Sunny, please give us a trick!!
User avatar
eras3r
 
Posts: 169
Joined: Fri Nov 20, 2009 10:53 pm

Re: destroy/unload a page

Postby iMatte » Thu Sep 27, 2012 9:39 am

Sunny, any idea or trick? help please
iMatte
 
Posts: 12
Joined: Thu Sep 13, 2012 7:55 am


Return to How To...

Who is online

Users browsing this forum: No registered users and 1 guest