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

When the app did enter the background and you come back, the buttons don't work anymore... #2

Closed maximedegreve closed 9 years ago

carloperez commented 9 years ago

Works great. Just recreate the handler on ApplicationDidBecomeActive.

rsanchezsaez commented 9 years ago

It would be great if JPSVolumeButtonHandler would automatically do this.

I made JPSVolumeButtonHandler to automatically restart the audio session when the app goes back to the foreground. See the pull request below.

jpsim commented 9 years ago

Fixed by #3.