jpsim / JPSVolumeButtonHandler

JPSVolumeButtonHandler provides an easy block interface to hardware volume buttons on iOS devices. Perfect for camera apps!
MIT License
336 stars 91 forks source link

Allow listening to volume buttons without blocking the changes from occurring #31

Closed samyes closed 8 years ago

samyes commented 8 years ago

For the case where the client simply wants to know whether the user changes their volume, without having to implement and manage the KVO

Note: This retains the same limitation as that method, where pressing up while already at the max volume (or down while at 0) will not trigger a callback

jpsim commented 8 years ago

Looks good to me. Thanks!