Open mahajnamahmod opened 7 years ago
you can:
previewLayer
(multiple forks do this so poke around the network graph if you don't know how)viewDidLoad
of the SwiftyCamViewController
subclass, remove the pan gesture:
swipeToZoom = false
previewLayer.removeGestureRecognizer(panGesture)
Or you can also conform to UIGestureRecognizerDelegate
in your subclass and implement logic in the delegate method shouldRecognizeSimultaneouslyWith
Putting swiftycam in a view controller with other scroll views blocks scrolling between views(think like snapchat).