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

It seems that observer is not removed after volumeButtonHandler?.stop() is called #70

Open jdleung opened 8 months ago

jdleung commented 8 months ago

In my camera app, volumeButtonHandler?.stop() and volumeButtonHandler = nil are called before app enter background. But when I press the volume button outside the app, then activate the app again, it takes a photo when enter foreground.