views:

336

answers:

2

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!

A: 

You can't do this. Apple does not let you make system-wide changes that affect other apps like this.

ceejayoz
What about the celestrial framework I heard about?
SolidSnake4444
As far as I can tell, that's a private API. Using private APIs gets you rejected from the App Store.
ceejayoz
If you get rejected, is it permanent? Like could I use it and give it a shot and if they accept it I'm lucky?
SolidSnake4444
They have automated systems for detecting private APIs. Don't waste your time.
ceejayoz
+2  A: 

AFAIK, you can't, at least not programmatically. But you can integrate an MPVolumeView.

http://stackoverflow.com/questions/463034/using-a-uislider-to-change-volume

Kevin L.