Re: UIApplication terminate?
Re: UIApplication terminate?
- Subject: Re: UIApplication terminate?
- From: Peter Blazejewicz <email@hidden>
- Date: Tue, 16 Mar 2010 10:23:48 +0100
Hello Steve,
On Tue, Mar 16, 2010 at 9:41 AM, Steve Cronin <email@hidden> wrote:
> 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
>
there is official doc (QA):
http://developer.apple.com/iphone/library/qa/qa2008/qa1561.html
and it is sometimes relinked on Iphone SDK dev forums from time to
time, see e.g.:
https://devforums.apple.com/message/170720#170720
regards,
Peter
_______________________________________________
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