iphone - When user kills the app what method should I call? -


i have trouble delegate method when user kills app using red minus close button in task switcher.

i've ever tried using exit(0) on applicationwillterminate did not work.

you don't need when user closes app or [applicationwillterminate:] except clean things may need clean up.

you not call exit(), , if app rejected. same abort().

if need close app when user dismisses it, think can set plist flag sets app exit instead of going background.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -