Added the ability to change and then reset the ios master volume #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a modification to the slider control library to allow you to set the phone's master volume, and then set it back if needed using the clever little slider hack over at - http://stackoverflow.com/questions/19218729/ios-7-mpmusicplayercontroller-volume-deprecated-how-to-change-device-volume-no/24993026#24993026
Some documenation stuff will need editing, but to use it just do the following :
volumeSlider = plugins.volumeSlider;
volumeSlider.createVolumeSlider(10, 350, 300, 30); // origin x, origin y, width, height
volumeSlider.setVolumeSlider(1.0); //or w/e you want here, I was just maxing it out.
volumeSlider.resetVolumeSlider();