Open kamlesh-jswal opened 7 years ago
This line is from the RNNotificationView or are you add this lines? Whats Xcode version?
code is from RNNotificationView. Complete code provided by RNNotificationView - but i don't want UITapGestureRecognizer so i comment that part of code. you can check code from line 230-233, I commented code line 230-231 because i don't want tap gesture.
// Gestures let tap = UITapGestureRecognizer(target: self, action: #selector(RNNotificationView.didTap(:))) self.addGestureRecognizer(tap) let pan = UIPanGestureRecognizer(target: self, action: #selector(RNNotificationView.didPan(:))) self.addGestureRecognizer(pan)
I am using Xcode 8.3.3
Hi Team,
App is crashing some time on second line of code let pan = UIPanGestureRecognizer(target: self, action: #selector(RNNotificationView.didPan(_:))) self.addGestureRecognizer(pan) // here its crashing.
Please help me. Thanks