| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
JPSVolumeButtonHandler provides an easy block interface to hardware volume buttons on iOS devices. Perfect for camera apps! Used in JPSImagePickerController.
Features:
Add pod 'JPSVolumeButtonHandler' to your Podfile.
Drag the JPSVolumeButtonHandler folder into your project and link the MediaPlayer and AVFoundation frameworks to your project.
Set your blocks to be run when the volume buttons are pressed:
self.volumeButtonHandler = [JPSVolumeButtonHandler volumeButtonHandlerWithUpBlock:^{
// Volume Up Button Pressed
} downBlock:^{
// Volume Down Button Pressed
}];This project is under the MIT license.
| Back | FazBrowse Home | New Git URL |