开发者

Restart iPhone App [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Force iphone app to restart programmatically

开发者_运维百科

I have an alert popping up informing the user to restart the app, in order to change the theme.

However, if the user selects OKAY, from the alert, I would like to automatically restart the app. Is this possible or allowed by Apple?

Thanks for any help


Not possible. You can exit the app if you want using exit(1); but is highly discouraged. Why do you want to restart your app? There should be other workarounds to that.


No. You can't relaunch your app. You should consider a better approach to themes.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜