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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-18-2010, 05:47 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 47
Default Preventing view unloading on didReceiveMemoryWarning

Guys

I have a view that I really do not want unloaded when a low memory warning is received.

I have tried returning from didReceiveMemoryWarning before anything is done, but to no avail.

In fact, [self isViewLoaded] returns 0 already when tested in didReceiveMemoryWarning, so it's already been dumped by the time didReceiveMemoryWarning is called.

How can I prevent my view being dumped?

The view is an overlay to the video camera, so the memory cleanser wrongly thinks it's not displayed - it is displayed, only as an overlay.

So when i get the memory warning, my view vanishes from the camera.

Any help would be greatly appreciated.
jamison is offline   Reply With Quote
Old 03-18-2010, 03:38 PM   #2 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 47
Default

bumped...
jamison is offline   Reply With Quote
Old 03-18-2010, 03:42 PM   #3 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 2,178
Default

Quote:
Originally Posted by jamison View Post
bumped...
Please wait at least 24 hours after the last post before bumping a thread. Thank you.
__________________
~~ Word Flurry ~~ App Store / Website / Facebook
Kalimba is offline   Reply With Quote
Old 03-18-2010, 03:46 PM   #4 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 47
Default

Apologies if I've broken etiquette, it's the next day here if that's any help :-)
jamison is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 250
14 members and 236 guests
ADY, CKAmike, Dani77, dessicant, Duncan C, HemiMG, jakerocheleau, nick.keroulis, Promo Dispenser, Punkjumper, Rudy, sacha1996, sneaky, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,231
Posts: 380,768
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:23 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0