-1

the APP require me to realize a setting function,which can turn on/off the ringing tone and the same to vibrate tone, Is someone konw the answer?Thanks!

whitekevin
  • 311
  • 3
  • 15

1 Answers1

0

You should Use AVSystemController for it.

[[AVSystemController sharedAVSystemController] setVolumeTo:10.0 forCategory:@"Ringtone"];
iPatel
  • 46,010
  • 16
  • 115
  • 137