在iOS7上无法使用音量按钮静音 [英] Can't use volume button to mute on iOS7

查看:132
本文介绍了在iOS7上无法使用音量按钮静音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将我的VoIP应用程序迁移到了iOS7,还有一个我仍然无法理解的漏洞。

I've migrated my VoIP application to iOS7 recently, and there's an open bug still remaining which I can't understand.

在进行VoIP通话时,在iOS6中您可以按物理音量按钮降低音量,降低到零。

When in VoIP call, in iOS6 you can push the physical volume button to lower the volume, down to Zero.

现在,在iOS7中,我可以将声音降低到零之前的最后一步,这意味着音量不能被静音。

Now, in iOS7, I can lower the sound only down to the last step before zero, which means the volume cannot be muted.

我怀疑这是iOS7方面的东西,因为我在iOS6设备上没有相同的IPA问题。

I suspect this is something that's on iOS7 side, since I don't have the problem with the same IPA on an iOS6 device.

有人知道发生了什么吗?

Anybody knows what's up?

推荐答案

我的VoIP也有同样的问题app ...

Same problem with my VoIP app...

我的解决方案:
完成所有设置后,将类别设置为播放,

My Solution: After everything is set up, set the category to Playback,

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];

然后将其设置回PlayAndRecord,

Then set it back to PlayAndRecord,

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];

这对我有用,希望这可以帮助遇到同样问题的人。

This works for me, hope this helps someone who comes across the same problem.

这篇关于在iOS7上无法使用音量按钮静音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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