开发者

Ios4 not quitting my program, it just pause and minimize it

开发者 https://www.devze.com 2023-01-12 21:52 出处:网络
I am new to iPhone sdk . I am writing a program and I want it to totally quit whenever the player press the home button. I am using my iPhone (IOS4) to test. When I press the home button on iPhone whi

I am new to iPhone sdk . I am writing a program and I want it to totally quit whenever the player press the home button. I am using my iPhone (IOS4) to test. When I press the home button on iPhone while my app is running, it does't really quit the app. Is there any way to fix it s开发者_JS百科o that every time I launch my app, it start newly. Sorry for my bad English. Thanks a lot .

Tony


Set the UIApplicationExitsOnSuspend key in Info.plist to YES, and you're all set.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号