Skip to content

tapScreenAtPoint not working on ios14 #1198

Open

Description

@Alderon86

I just discovered that tapScreenAtPoint just crashes my app on iOS14.

im using self.viewTester().tapScreen(at: CGPoint(x:x, y:y))

any suggestions where to look at to resolve that problem?

Edit:

Here is why its crashing:

Uncaught exception: NSInvalidArgumentException: -[UITouch _setIsFirstTouchForView:]: unrecognized selector sent to instance 0x12baab030

Edit2:

Commenting out these two lines made it work again

    [self _setIsFirstTouchForView:YES];
    [self setIsTap:YES];

Activity

  1. dostrander commented on Dec 15, 2020

    @dostrander
    Contributor

    @Alderon86 which version of the framework are you using? This should have been fixed here with #1153

  2. Alderon86 commented on Dec 15, 2020

    @Alderon86
    Author

    @dostrander I think its 3.7.8 newer version are insta crashing my app but haven't looked into the reason that much

  3. dostrander commented on Dec 15, 2020

    @dostrander
    Contributor

    When you get a chance could you give us a backtrace on what is happening?

  4. Alderon86 commented on Dec 15, 2020

    @Alderon86
    Author

    @dostrander ofc I will, we just hit another lockdown here so I guess I have plenty of time the next days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions