• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Make the app quietly go away.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Make the app quietly go away.
      • From: Clark Williams <email@hidden>
References: 
 >Make the app quietly go away. (From: Clark Williams <email@hidden>)

  • Prev by Date: Make the app quietly go away.
  • Next by Date: Re: Make the app quietly go away.
  • Previous by thread: Make the app quietly go away.
  • Next by thread: Re: Make the app quietly go away.
  • Index(es):
    • Date
    • Thread