Sounds in UILocalNotification louder than AVAudioPlayer at max volume

人走茶凉 提交于 2019-12-08 14:32:22

The bug I opened with Apple was closed as "functions as designed". Their brief explanation:

Notification sounds follow ringer volume; AVAudioPlayer follows media volume.

... I guess you can then make the assumption that ringer volume is allowed to be louder than the loudest media volume, to ensure you hear the ringer. I guess.

I faced similar issue with AVAudioPlayer volume. So I divided the value I want to assign by a factor of what I want to get. Worth finding the reason though.

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