[ACCEPTED]-How to quit itself in Objective-C application?-protocol-handler
You don't have to launch
openjust 3 calls into Launch Services, some of whose functionality 2 is directly available from NSWorkspace.
To quit, you 1 just call
[[NSApplication sharedApplication] terminate:nil]. See
This has been answered here: Proper way to exit iPhone application? however you 5 should also take a look at August's answer. Although 4 it's not the accepted answer, it has been 3 voted higher and it also follows Apple's 2 set standards since Apple advises against 1 force quitting iPhone applications.
More Related questions