Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in _setIsFirstTouchForView: on iOS 14 #1152

Closed
changeyourdestiny opened this issue Jun 24, 2020 · 2 comments
Closed

Crash in _setIsFirstTouchForView: on iOS 14 #1152

changeyourdestiny opened this issue Jun 24, 2020 · 2 comments

Comments

@changeyourdestiny
Copy link

Hi, I found iOS14 devices will crash due to:
`@implementation UITouch (TIAs)

  • (id)initAtPoint:(CGPoint)point inWindow:(UIWindow *)window
    {
    ....
    [self _setIsFirstTouchForView:YES]; //will crash
    // [self respondsToSelector:@selector(_setIsFirstTouchForView:)] will return NO on iOS14
    ....
    }`
@changeyourdestiny
Copy link
Author

[self setIsTap:YES];// crash too
[self respondsToSelector:@selector(setIsTap:)] will return NO on iOS14 too

@steipete
Copy link
Contributor

Hi folks 👋 I have a working hack over here, I'm sure you can adapt this for KIF as well: google/EarlGrey#1357

@changeyourdestiny changeyourdestiny changed the title iOS14 crash problem crash problem Jun 25, 2020
@justinseanmartin justinseanmartin changed the title crash problem Crash in _setIsFirstTouchForView: on iOS 14 Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants