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.

有帮助吗?

解决方案

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:)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top