-
Notifications
You must be signed in to change notification settings - Fork 190
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
Crashing on CLLayer position contains NaN #105
Comments
I actually added the following check, but I still get the error: // now set the *actual* anchor point for our layer so that our "popup" animation starts from this point.
if (isnan(anchorX) || isnan(anchorY)) {
return;
}
CGPoint anchorPoint = [layer convertPoint:CGPointMake(anchorX, anchorY) toLayer:self.layer]; |
Hm that's weird - can you reproduce this issue in the sample project? |
No I can't. I just get crash logs through Crashlytics about it. I have been getting them since we launched our app in December. |
Hi! I get these crashes as well. |
@grusha No, have never figured it out. I still get the reports on Crashlytics but cannot reproduce. |
@nnhubbard HI,Have you found what's causing it now? |
No, still never found the cause. |
I have been getting some crash reports that show the following:
Is there a reason it would be returning
NaN
? And is there a way I can detect this?The text was updated successfully, but these errors were encountered: