开发者

iPhone/iOS App runs fine, but if I force quit by deleting it from the running programs crashes on next start

Ok, I'm confused..

I have an app that if I launch and use runs fine.. However if I click on the home button pausing the app, and then go into the list of running apps by double clicking the home button, and then delete the app instance in that list, effectively killing/ending that app run, and go back and click on the icon to launch the app fresh, the app simply hangs with a blank black screen... every time I try to start the app after that first time I get this problem.

Is there some event I need to han开发者_如何学运维dle in my app, to make sure it cleans itself up properly for relaunch?

I am admittedly confused and would appreciate any help.


I had the same weird problem, then i have realized that this only happens if you run the application through the XCODE (Debug Mode). The application locks because the debugger/xcode receives the SIGNKILL and locks the application so you can inspect the code.

If you run the application directly from the device the application gets killed and does not remain locked on the screen :)

Even one year later, i had the same problem, so hope that helps someone that has the same problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜