iOS UILocalNotification声音 [英] iOS UILocalNotification Sound

查看:44
本文介绍了iOS UILocalNotification声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使关闭了声音,是否可以播放UILocalNotification声音.实际上,我正在尝试创建一个即使用户已关闭声音也可以使用的警报.或任何其他实现此目的的方法.

Is there any way to play UILocalNotification Sound even if Sound is off. Actually I am trying to create an alarm which works even if user has turned off the sound. Or any alternative way to achieve this.

推荐答案

如果用户关闭了声音,则该应用无法播放声音.用户设置始终比应用程序具有最高优先级.

If user has put the sound to off, there is no way for the app to play the sound. User settings always have the highest priorities than the applications.

这篇关于iOS UILocalNotification声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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