I want to exit my application programatically, I googled, some people suggesting to use exit(1), but apple is not supporting that I guess. If it is the case, How do I exit my application programatically. Any helps appreciated.
I want to exit my application programatically, I googled, some people suggesting to use
Share
exit(0);will work but don’t use itYou shouldn’t force close an app as the standard way to terminate an application is to press the home button (or use the multitasking bar)
Source