App crashes
I added TouchVisualizer to my app, but it crashes in some situations.
Unfortunately, XCode does not tell much about any reasons (libc++abi.dylib: terminating with uncaught exception of type NSException).
The line where I catch the exception is the call to swizzledSendEvent:
extension UIWindow {
@objc public func swizzledSendEvent(_ event: UIEvent) {
Visualizer.sharedInstance.handleEvent(event)
swizzledSendEvent(event)
}
}
The crash happens when tapping somewhere on the end of a table, or outside the table.
Do you have any idea what's happening here?
Best regards, Hardy
mmm..I don't know why. I'll check it in my environment!
I'm having the same problem. Regularly crashing on the swizzledSendEvent(event) line
I have the same issue since swift5