Open paul-piro opened 10 years ago
i get this error when used with FXBlurView in iOS 7
Assertion failed: (CGFloatIsValid(x) && CGFloatIsValid(y)), function void CGPathAddArc(CGMutablePathRef, const CGAffineTransform *, CGFloat, CGFloat, CGFloat, CGFloat, CGFloat, bool), file Paths/CGPath.cc, line 279.
so i added the following condition in drawRoundedWithContext if(rect.size.width > 0 && rect.size.height > 0) { }
only then we allow the code to be executed else the app will crash
i get this error when used with FXBlurView in iOS 7
Assertion failed: (CGFloatIsValid(x) && CGFloatIsValid(y)), function void CGPathAddArc(CGMutablePathRef, const CGAffineTransform *, CGFloat, CGFloat, CGFloat, CGFloat, CGFloat, bool), file Paths/CGPath.cc, line 279.
so i added the following condition in drawRoundedWithContext if(rect.size.width > 0 && rect.size.height > 0) { }
only then we allow the code to be executed else the app will crash