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

Lost control #1

Closed hakkaju closed 10 years ago

hakkaju commented 10 years ago

Great class! It worked in my lap counter app as I expected.

However, there are (at least) two cases when it loses the control of volume buttons: 1) if you visit another app and then get back to your own app 2) if you blank your display (clicking shortly power button). In my case, the app should register volume buttons even when the display is off (to save battery).

Any ideas how to manage these situations???

Tested on iPhone 5.

regards, Juha

jpsim commented 10 years ago

I'm glad you've found this useful, but those two scenarios aren't supported. Feel free to fork and submit an improvement if you'd like to work on this.