“请勿打扰” iOS 6中的功能如何实现? [英] "Do Not Disturb" feature in iOS 6 How to implement?

查看:89
本文介绍了“请勿打扰” iOS 6中的功能如何实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iOS 6中实现请勿打扰功能。

I want to implement the feature "DO Not Disturb" in iOS 6.

第一个问题:是否有任何框架或api苹果通过代码控制它们?

First question : Is there any framework or api apple exposed to control them through the code?

经过大量谷歌搜索后,我在应用程序商店Call Bliss上找到了一个应用程序,它提供了这项功能并完全控制了呼叫,短信和短信。
有谁可以解释这个应用程序是如何工作的?

在iOS学习和实现此功能的任何其他工作?

After lot of googling i found an application on the app store "Call Bliss" that provides this functionality and complete control over the calls, sms and mms. Can anybody explain how this application works? or any other work around to learn and implement this feature in iOS?

提前致谢...

推荐答案

通过阅读Call Bliss的描述,它实际上听起来很简单。

From reading the description of Call Bliss, it actually sounds quite simple in how it works.

1)必须始终启用请勿打扰。未安排,未关闭,但始终开启。

1) Do Not Disturb must be enabled at all times. Not scheduled, not off, but on at all times.

2)它要求您将请勿打扰例外的联系人组设置为Bliss Exceptions。这意味着应用程序需要访问您的地址簿。

2) It requires you to set the contacts group for exceptions to Do Not Disturb to "Bliss Exceptions". This implies that the application requires access to your address book.

从那里开始,假设它管理Bliss Exceptions联系人群组中的联系人可能是明智之举您在应用程序中设置的任何参数。它根据所述参数添加和删除该组中的人员。

From there, it's probably wise to assume that it manages the contacts in the "Bliss Exceptions" contact group based on whatever parameters you set in the application. It adds and removes people in that group based said parameters.

所以回答你的问题,不,没有框架可以做到这一点。他们这样做的方式可能是目前没有公共API管理请勿打扰状态的唯一方法。

So to answer your question, no, there is no framework to do this. The way they're doing it is likely the only way to do it currently with no public API for managing do not disturb status.

这篇关于“请勿打扰” iOS 6中的功能如何实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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