How do I check if iOS device is set to “do not disturb”?

倖福魔咒の 提交于 2020-05-14 19:15:06

问题


Is there a way to check if user selected "do not disturb" mode? My app relies on some push notifications and I want to inform user, that he should disable "do not disturb" mode for better experience.


回答1:


No this is not possible using the public APi's available.




回答2:


"Do not Disturb" mode not possible Programmatically.



来源:https://stackoverflow.com/questions/18376383/how-do-i-check-if-ios-device-is-set-to-do-not-disturb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!