Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Fix unsubscribing from notifications #187

Closed
wants to merge 1 commit into from

Conversation

f33dm3m0m
Copy link

After dismissing CameraViewController it still can react to volume changes either with physical buttons or after playing video (which shoots AVSystemController_SystemVolumeDidChangeNotification).

The problem can be solved by unsubscribing from notifications and nullifying volumeControl property in viewWillDisappear method of CameraViewController.

This pull-request does exactly that.

@f33dm3m0m
Copy link
Author

The issue with more details covered in #179.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants