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

CALayer position contains NaN: [nan nan] #27

Closed
idikic opened this issue Apr 28, 2014 · 3 comments
Closed

CALayer position contains NaN: [nan nan] #27

idikic opened this issue Apr 28, 2014 · 3 comments

Comments

@idikic
Copy link

idikic commented Apr 28, 2014

Hello Mario, I'm expiriencing some issues with iPhone 4/4s and iPad mini.
CALayerInvalidGeometry. Stack trace bellow.

I can't reproduce the error.
Any ideas?

Well your framework is really helpfull, so thanks anyway for hard work!!

STACK TRACE:

0   CoreFoundation  <redacted> + 130    
1   libobjc.A.dylib objc_exception_throw + 38   
2   CoreFoundation  <redacted> + 0  
3   QuartzCore  <redacted> + 242    
4   QuartzCore  <redacted> + 54 
5   QuartzCore  <redacted> + 594    
6   UIKit   <redacted> + 254    
7   UIKit   <redacted> + 184    
8   UIKit   <redacted> + 38 
9       -[MHUIImageViewContentViewAnimation setFrame:] (MHUIImageViewContentViewAnimation.m:152) + 3271561  
10      -[MHTransitionDismissMHGallery startInteractiveTransition:] (MHTransitionDismissMHGallery.m:156) + 3209077  
11  UIKit   <redacted> + 1254   
12  UIKit   <redacted> + 316    
13  UIKit   <redacted> + 430    
14  CoreFoundation  <redacted> + 20 
15  CoreFoundation  <redacted> + 284    
16  CoreFoundation  <redacted> + 730    
17  CoreFoundation  CFRunLoopRunSpecific + 522  
18  CoreFoundation  CFRunLoopRunInMode + 106    
19  GraphicsServices    GSEventRunModal + 138   
20  UIKit   UIApplicationMain + 1136    
21          main (main.m:16) + 146983   
22  libdyld.dylib   <redacted> + 2

Have a nice day

Ivan

@mariohahn
Copy link
Owner

Which version are you using?

This bug should be fixed with this lines

if(!image){
    image = [self setDefaultImageForFrame:fromViewController.view.frame];
}

in the MHTransitionDismissMHGallery Class. But i am going to recheck it.

@idikic
Copy link
Author

idikic commented Apr 28, 2014

I'm currently using MHVideoPhotoGallery (1.5). Tried cocoa pods update second ago, but the fix is not included, or at least I can't find it.

@mariohahn
Copy link
Owner

fixed for Version 1.6

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

No branches or pull requests

2 participants