문제

I loaded some app projects that I had been developing using the iPhone 3.1.3 Simulator. Now I got the 4.0 package, and for some reason when I hit the home button of the simulator to go the home screen and then go back to the app, it's in the same position as I left it. Is this now standard? What if I don't want it to do this? I'd rather have it restart every time.

도움이 되었습니까?

해결책

What you're describing is fast App switching, which is new in iOS 4.

If you want your application to quit each time the user presses the Home button, add the UIApplicationExitsOnSuspend property key to your info.plist and set it to YES (check the box).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top