Is there a way to programmatically control the system volume of an iPhone device using Swift? Not the volume as controlled by AVAudioPlayer, but the system volume -- like when you press the volume buttons on the side of the device.
The overall system output & alert volumes of the device are user preferences so no APIs. You can control relative volume if you wish and you can use the MPVolumeView to give a user the option to control output volume from within your app. The language isn't going to make a difference.