So far I've been using an MPVolumeView
to control the volume of my iOS devices, which worked just fine until updating to iOS7.
I've created a test project (Base SDK 6.1, Deployment Target 5.1
) which has only one MPVolumeView
on a single UIView
. While running this App on my iPad 1 (iOS 5.1) works just fine, running it on my iPhone 5 (iOS 7) does not.
On my iPad dragging the volume slider changes the whole devices volume. Also when i use the hardware buttons this does reflect on my slider in the VolumeView. On my iPhone on the other hand, it seems that there is no longer a connection between those controls. The hardware buttons do not result in any changes on my VolumeView, neither does changing the slider in the volume control result in the devices volume level.
I need to have e.g. the iPodMusicPlayer
playing something, then it works. Otherwise it doesn't.
Does anyone how i can get this to work again? I really need to control the whole devices audio level (not necessarily programmatically, the user needs to be able to change it within my app), not only the level of the sound played by the app itself.