my code works in iOS 12 last version but after iOS 13 this code can't call the selector
I used **UIGestureRecognizerDelegate** for iOS 13
here is my code
let panGest = UIPanGestureRecognizer(target: self, action: #selector(self.handleTap(_:)))
panGest.delegate = self
txtVw.addGestureRecognizer(panGest)
here is my let txtVw = subVws as! UITextView ,
txtVw = subVws as! UITextView
this function with sef.view its work but i do'nt have self.view i have one subview
I I used one code like this :
let panGest = UIPanGestureRecognizer(target: self, action: #selector(self.handleTap(_:)))
self.view.addGestureRecognizer(panGest)
its work with self.view but for subview how can i call ? is not work self.handleTap and its not call gestureRecognizer(_:shouldRecognizeSimultaneouslyWith:)
gestureRecognizer(_:shouldRecognizeSimultaneouslyWith:)