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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-18-2010, 04:47 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 47
jamison is on a distinguished road
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, 02:38 PM   #2 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 47
jamison is on a distinguished road
Default

bumped...
jamison is offline   Reply With Quote
Old 03-18-2010, 02:42 PM   #3 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 2,176
Kalimba is on a distinguished road
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, 02:46 PM   #4 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 47
jamison is on a distinguished road
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: 352
11 members and 341 guests
akacaj, c2matrix, cgokey, esoteric, givensur, HemiMG, Mirotion22, mjnafjke, Pudding, SLIC, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,651
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Mirotion22
Powered by vBadvanced CMPS v3.1.0

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