-2

I am trying to control iPhone System volume from my iOS App using Swift. I am following this below link but I can't do it.

https://github.com/ioscreator/ioscreator/tree/master/IOS8SwiftVolumeTutorial/IOS8SwiftVolumeTutorial

After using this I am able to change the volume control of custom audio file and I can also control the volume of other applications such as Youtube. But I can't control iOS Clock App's alarm volume and ringtone volume. How can I control all kinds of system volume including alarm and ringtone?

Rengers
  • 14,911
  • 1
  • 36
  • 54
Md. Sujan
  • 49
  • 1
  • 6

1 Answers1

0

As far as I know there is no way to do this on iOS. You generally do not have control over a lot of things outside of your app. Ringtone and alarm volume is one of the things you cannot control.

Rengers
  • 14,911
  • 1
  • 36
  • 54