iPhone-将应用程序发送到后台 [英] iPhone - Sending the app to the background

查看:148
本文介绍了iPhone-将应用程序发送到后台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,当它首次运行时,它会显示一个UIViewAlert并为您提供该应用程序的首选项-用户有2个选择-是或否.如果用户未击中,则警报消失,应用程序继续运行.我想以这种方式进行设置,如果用户点击是,我的应用程序将进入后台,该应用程序的设置选项卡将被打开(我向该应用程序添加了设置捆绑包).有可能做这样的事情吗?谢谢!

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!

推荐答案

否,这是不可能的.但是您可以在应用中创建一个设置视图并显示它,而不必尝试打开设置应用.

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.

这篇关于iPhone-将应用程序发送到后台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆