iphone - Conditional exit(0); in applicationDidEnterBackground? -
is ok use exit(0); this?
-(void)applicationdidenterbackground:(uiapplication *)application { if (userdontwantitruninbackground) { exit(0); } }
will apple approve it?
my understanding apple don't use exit()
@ all.
indeed, apple's human interface guidelines:
don’t quit programmatically never quit ios app programmatically because people tend interpret crash.
as far can tell, although might work intend, there chance app rejected.
Comments
Post a Comment