Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 5    Views: 147

farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
06/02/13 05:17 AM (10 years ago)

How to make your app NOT run in the background.

Hi Guys, I came across this and I thought it could interest somebody. There might be occasions when you don't want your IOS app to run in the background but just exit for good. Combine this with the auto-refresh (in the How To's) and every time the user come back to the app it should totally relaunch: Open your info.plist file - Add The Key UIApplicationExitsOnSuspend or Select Application does not run in background - Set the new key to YES or Fill in the tick box I haven't tested it yet, but I will soon. Cheers, Farcat
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/02/13 07:04 AM (10 years ago)
Very Cool and Useful. Thanks for sharing, Jake
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
06/02/13 07:23 AM (10 years ago)
I use this a lot for apps, esp ones that require a login or some kind of protected access to content. Works great & I find it pretty critical for testing. I asked about this a while ago and was surprised no one else uses it..... http://www.buzztouch.com/forum/thread.php?tid=623E9A22D61B04F6CE8D677&currentPage=23
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
06/02/13 11:34 AM (10 years ago)
Thanks @Atrain53, I wish I had read your post earlier!! You mentioned about terminating background audio, did it do the trick for you? I need to terminate a HTML audio player that just won't shut up, would it work in this case? Cheers, Farcat
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
06/02/13 02:05 PM (10 years ago)
Great tip @farcat! LA
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/02/13 04:20 PM (10 years ago)
Thanks for the post! I was wondering about this... Cheers! -- Smug
 

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.