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 08-08-2010, 04:55 PM   #1 (permalink)
Lead Designer
 
Robert's Avatar
 
Join Date: May 2010
Location: Los Angeles
Posts: 100
Robert is on a distinguished road
Default Restart app from start when multitasking

Hey all, ran into a problem.

Some things are not updateing in my app after hitting the home button and then returning to the app.

I was wondering if there is a way to force the app to just restart after doing this. In a way, it would act like the apps that were not updated for multitasking.

I know, i know, why??? in my case its just more simple if it can be done and my app is not an app that you would need multitasking for... but I will do it later, I just need more time to figure it out and Id like to fix it in the mean time so that it works but does not multitask.

And ideas or suggestions? complie with older xcode?
Robert is offline   Reply With Quote
Old 08-08-2010, 06:51 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 916
lukeca is on a distinguished road
Default

It's in the docs: iOS Application Programming Guide: The Core Application Design

To summarize: Set UIApplicationExitsOnSuspend to YES in your Info.plist
lukeca is offline   Reply With Quote
Old 08-08-2010, 11:57 PM   #3 (permalink)
Lead Designer
 
Robert's Avatar
 
Join Date: May 2010
Location: Los Angeles
Posts: 100
Robert is on a distinguished road
Default

Perfect! thank you
Robert 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: 335
10 members and 325 guests
arash5500, HemiMG, iram91419, linkmx, mediaspree, Objective Zero, Paul Slocum, stanny, Touchmint, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,656
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, iram91419
Powered by vBadvanced CMPS v3.1.0

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