Search code examples
iosiphonesettingsaudioringtone

Access sound settings in iphone


In one of my app i wanted to access the sound settings and need to do some modification like increase the volume, change the tune . does apple allow these kind of the app ?

Thanks,


Solution

  • In short, it is not possible to do so in current iOS SDK .

    There is no public API since iOS 5.1 to access Settings App. However, you can adjust the volume using:

    MPMusicPlayerController *musicPlayer = [MPMusicPlayerController applicationMusicPlayer];
    musicPlayer.volume = 1; 
    

    which will maximize the device volume in App.