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
Post a Comment