开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜