Skip to content

Conversation

@fernandomatal
Copy link

As the basic function of the framework is to add the camera view on top of everything, sometimes the developer needs to call a [self.view bringSubviewToFront: contentView] in order to get their camera buttons or custom views on top, this sometimes can interfere with the focus to tap gesture implemented by default.

I added a method called focusViewWithGesture which basically sends the implemented gesture recognizer, tests if it's inside the preview view's frame and in case this is positive, then sends the data to previewTapped.

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.

1 participant