Would it be possible to disable pan gesture for a specific UIView inside a UIViewController?
As the UIPanGestureRecognizer is private, it's not possible to do the following:
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
if touch.view?.isDescendant(of: view) == true {
return false
}
return true
}
Would it be possible to disable pan gesture for a specific UIView inside a UIViewController?
As the UIPanGestureRecognizer is private, it's not possible to do the following: