Question

I have made an iPhone application. When my application enters in background. I want to turn off fully my iPhone application,and when i again start my iPhone application it should starts from the starting page,it should not start from where i left. I have used exit(0),but i think it is not recommended by Apple. Please provide some suitable solution soon.

Was it helpful?

Solution

You can achieve it by modifying your info.plist file.

add this Key "Application does not run in background" and set its value to "YES"

This should get you going!

Let me know if it solves:)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top