Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

App crashes #91

Open
ghost opened this issue May 16, 2018 · 3 comments
Open

App crashes #91

ghost opened this issue May 16, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented May 16, 2018

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

@morizotter
Copy link
Owner

morizotter commented May 17, 2018

mmm..I don't know why. I'll check it in my environment!

@gheatley
Copy link

gheatley commented Oct 4, 2018

I'm having the same problem. Regularly crashing on the swizzledSendEvent(event) line

@msedd
Copy link

msedd commented Jun 23, 2019

I have the same issue since swift5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants