开发者

Send app to background on button tap

In my apps there is a button named "Back开发者_StackOverflow". When the user clicks on that button, the apps should be sent to the background, like when we click on the home button.


Even if you manage to do this, it is against Apple's HIG (because it will look as a crash to the user) - if you plan to publish your app on the AppStore you'll be rejected.


I think turning to background is impossible.

Make user press home button by using UIAlertView with no cancel button.


We can send an application to the background using SpringBoardUI or the SpringBoardServices private frameworks.

However, Apple won't accept this on the App Store.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜