jpsim / JPSVolumeButtonHandler

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

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

Closed samyes closed 7 years ago

samyes commented 7 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 7 years ago

Looks good to me. Thanks!