是否可以通过编程方式在iOS 7中禁用Control Center,如果没有,有哪些替代方案? [英] Is it possible to disable Control Center in iOS 7 programmatically and if not, what are alternatives?

查看:111
本文介绍了是否可以通过编程方式在iOS 7中禁用Control Center,如果没有,有哪些替代方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一款自下而上使用滑动手势的应用。它在iOS 6中完美运行,但现在iOS 7问世了,它可能在25次中有一次出现:我几乎每次都得到iOS 7控制中心。显然,可以在设置中禁用控制中心,但这取决于手机所有者,我无法控制。所以我的问题是,有没有办法在我的应用程序运行时禁用控制中心(或者更可能是活动,因为如果用户没有主动使用我的应用程序,我希望控制中心返回)。如果没有,有哪些替代方案?重新定位/重新设计该功能是唯一的解决方案吗?

I have developed an app that uses swipe gesture from bottom up. It was working perfectly in iOS 6, but now iOS 7 came out, and it works maybe 1 out of 25 times: i get iOS 7 Control Center almost every time. Obviously, Control Center can be disabled in the Settings, but that is up to the phone owner, and I cannot control that. So my question is, is there a way to disable Control Center for the time when my app is running (or more likely, is "active", as I would want Control Center back if the user is not actively using my app). If not, what are the alternatives? Is relocating/reworking that functionality is the only solution?

推荐答案

真的没有其他选择。您可以做的最好的事情是警告用户并要求他们转到设置以关闭它。

No alternatives, really. The best you can do is warn users and ask them to go to settings to turn it off.

实际上,只要问这个问题就会失去很多用户,所以你应该改变手势。

Realistically, you'll lose a lot of users just by asking that, so you should change the gestures.

这篇关于是否可以通过编程方式在iOS 7中禁用Control Center,如果没有,有哪些替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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