Hello Steve,

On Tue, Mar 16, 2010 at 9:41 AM, Steve Cronin <[email protected]> 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 protected])
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/peter.blazejewicz%40gmail.com
>
> This email sent to [email protected]
>

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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to