iPhone - Sending the app to the background

二次信任 提交于 2019-12-11 18:28:08

问题


In my app, when it runs for the first time, it shows a UIViewAlert and offers you to see the preferences for the app - and the user has 2 choices - yes or no. If the user hits no the alert fades away and the application continues running. I want to set it in such a way, that if the user hits yes, my app will go to the background, the settings tab of the app will be opened (I added a settings bundle to the app). Is it possible to do such a thing? Thanks!


回答1:


No, this is not possible. But you can create a settings view in you app and show it instead of trying to open the settings app.

Normally, you do want to encourage users to use your app as long as possible, and making them quit your app yourself is not the best way to achieve that.




回答2:


No, this isn't possible.
But you could use InAppSettingsKit and modally show a view controller with the settings inside the app.

You can find out more here - http://www.inappsettingskit.com/



来源:https://stackoverflow.com/questions/9754601/iphone-sending-the-app-to-the-background

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!