是否可以以编程方式禁用 iOS 7 中的控制中心,如果不能,有什么替代方法? [英] Is it possible to disable Control Center in iOS 7 programmatically and if not, what are alternatives?

查看:16
本文介绍了是否可以以编程方式禁用 iOS 7 中的控制中心,如果不能,有什么替代方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个使用自下而上滑动手势的应用.它在 iOS 6 中运行良好,但现在 iOS 7 出来了,它可能运行 25 次中有 1 次:我几乎每次都得到 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 中的控制中心,如果不能,有什么替代方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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