iphone - Forcing termination of app when accepting incoming call -


i need force quit app when pressed answer button in incoming call , when tap on reject app should continue working.

i had tried pacing exit(0) in applicationdidenterbackground.

the app force quitting . problem relaunching automatically itself.

any suggestion , ideas??

never ever call "exit" within app code. apple will reject apps quit out on own, user isn't doing explicitly. apple says in "ios human interface guidelines" (look in "don't quit programatically" section)

the official & approved way quit app user manually tapping on home bar button , hitting "-" badge on shaking apps in "mini" dock.

i'd thing should in case handle things in applicationwillresignactive: app delegate method.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -