如何打开关闭iPhone中的铃声和振动音?

时间:2013-03-24 05:49:43

标签: ios ringtone vibrate

APP要求我实现一个设置功能,它可以打开/关闭铃声和振动音调,有人知道答案吗?谢谢!

1 个答案:

答案 0 :(得分:0)

You should Use AVSystemController for it.

[[AVSystemController sharedAVSystemController] setVolumeTo:10.0 forCategory:@"Ringtone"];