您能否以编程方式在iOS 8(w / Swift)中切换“请勿打扰”模式? [英] Can you programmatically toggle Do Not Disturb mode in iOS 8 (w/ Swift)?

查看:100
本文介绍了您能否以编程方式在iOS 8(w / Swift)中切换“请勿打扰”模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对此进行一些研究,看起来你无法在iOS 6或7中切换请勿打扰模式。想知道你是否可以在iOS 8中做到这一点。我在Apple的文档中找不到任何内容

Doing some research on this, it looks like you couldn't toggle Do Not Disturb mode in iOS 6 or 7. Wondering if you can do it in iOS 8. I can't find anything in Apple's docs

任何帮助都会很棒。谢谢!

Any help would be great. Thanks!

推荐答案

此功能将位于Apple将每个应用程序放入的沙箱之外。应用程序和联系人之间的联系人沙箱非常有限。 Apple让你逃脱的一个例子是打开手电筒,但是像AirPlane模式一样,请勿打扰(应该)。 此处是有关沙盒的更多信息。

This functionality would be outside of the sandbox that Apple puts each application in. Contact between apps and contact outside of the sandbox is very restricted. One example that Apple lets you get away with is turning on the flashlight, but like AirPlane mode, Do Not Disturb (should be) is restricted. Here is some more information on the the sandbox.

这篇关于您能否以编程方式在iOS 8(w / Swift)中切换“请勿打扰”模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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