RNNotificationView icon indicating copy to clipboard operation
RNNotificationView copied to clipboard

Crash

Open kamlesh-jswal opened this issue 8 years ago • 2 comments

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

kamlesh-jswal avatar Nov 01 '17 11:11 kamlesh-jswal

This line is from the RNNotificationView or are you add this lines? Whats Xcode version?

souzainf3 avatar Nov 01 '17 12:11 souzainf3

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

kamlesh-jswal avatar Nov 02 '17 06:11 kamlesh-jswal