Re: Make the app quietly go away.
Re: Make the app quietly go away.
- Subject: Re: Make the app quietly go away.
- From: Hunter Hillegas <email@hidden>
- Date: Fri, 9 Jul 2010 16:35:24 -0700
Well, Apple and your users will probably tell you you shouldn't do this - users are now expecting multitasking / fast app switching.
That said, if you set UIApplicationExitsOnSuspend in your Info.plist, your app will not suspend and instead will exit when you move away from it.
On Jul 9, 2010, at 4:30 PM, Clark Williams wrote:
> I have an app that I want to quietly go away (not remain in the background).
> Once a user has a pressed a button I call Safari to displyay a page but then I want the app to just quit.
> Is there a way to do this gracefully?
>
> Example of calling Safari:
> NSString *theURL = @"<some_URL>";
> NSURL *aURL = [NSURL URLWithString:theURL];
> [[UIApplication sharedApplication] openURL:aURL];
> // Make app die quietly here.
>
>
> TIA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden