Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where pictures are repeatedly taken due to new AVCaptureSessi… #106

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

fnakstad
Copy link
Contributor

Experienced a bug where snapping a picture would result in an endless loop of new pictures being snapped. Traced it back to the volumeChanged function being repeatedly called, likely due to AVSystemController_SystemVolumeDidChangeNotification notifications being sent whenever a new AVCapture session is initiated. Refer to this Stack Overflow thread.

zenangst added a commit that referenced this pull request Feb 10, 2016
Fix bug where pictures are repeatedly taken due to new AVCaptureSessi…
@zenangst zenangst merged commit 8df3267 into hyperoslo:master Feb 10, 2016
@zenangst
Copy link
Contributor

@fnakstad nice catch! thanks a lot for contributing and remember, stay awesome! 😎

@fnakstad fnakstad deleted the volume-changed-bugfix branch February 11, 2016 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants