How programmatically restart an iPhone app in iOS

后端 未结 4 834
梦毁少年i
梦毁少年i 2020-12-02 01:53

How programmatically restart an iPhone app in iOS?

I find this way http://writeitstudios.com/david/?p=54

But may be something simple.

4条回答
  •  执笔经年
    2020-12-02 02:32

    my post that you linked to is referring to a Cocoa Application, not the iOS. On the iOS, you can quit an application (but Apple doesn't like this) by using exit(0); but I don't recommend that. You cannot restart iPhone apps though.

提交回复
热议问题