• 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
UIApplication terminate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIApplication terminate?


  • Subject: UIApplication terminate?
  • From: Steve Cronin <email@hidden>
  • Date: Tue, 16 Mar 2010 03:41:28 -0500

Folks;

I have an iPhone application that is used for a very specific purpose.

After perusing and modifying data the user is given the option to effectively [Cancel]  or  [Save]

After they have made their decision the app's purpose has been served for this instance.
What I would like to do is exit gracefully.

Back in the day you could [NSApp terminate] and all notifications etc were broadcast and an orderly end was accomplished.

I don't want to pester the user with another alert or a dead screen for which the only reasonable action is [Home].

I'd like to shut the application down - I believe this is what the user will desire.

How do I accomplish this?
exit(0) seems a bit rude for my tastes but….

BTW:  Is this the sort of thing that can hang up an approval??  (first one to run that gauntlet in about a week..)

Thanks for any thoughts!
Steve_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UIApplication terminate?
      • From: Luke the Hiesterman <email@hidden>
    • Re: UIApplication terminate?
      • From: Peter Blazejewicz <email@hidden>
    • Re: UIApplication terminate?
      • From: Roland King <email@hidden>
    • Re: UIApplication terminate?
      • From: Joanna Carter <email@hidden>
  • Prev by Date: Changing appearance of NSDatePicker?
  • Next by Date: Re: UIApplication terminate?
  • Previous by thread: Re: Changing appearance of NSDatePicker?
  • Next by thread: Re: UIApplication terminate?
  • Index(es):
    • Date
    • Thread