I would like to make a button in my iPad app (probably will be similar to iPhone apps) that when I push this button, all audio is muted, even when you exit the app.
I don't see anyway that you can control the volume, although I'm sure other开发者_开发百科 apps have that I have seen in the app store for the iPhone. I also read some places that doing this would reject you from the app store.
How could I go about lowering, or highering the volume of the iPad from an app that works even when the app closes?
Thank you!
AFAIK, you can't, at least not programmatically. But you can integrate an MPVolumeView.
Using a UISlider to change volume
You can't do this. Apple does not let you make system-wide changes that affect other apps like this.
精彩评论