Open SoftwareEngieer opened 10 years ago
when I set popover.arrowDirection = FPPopoverArrowDirectionUp
it was crash and shows
Assertion failed: (CGFloatIsValid(x) && CGFloatIsValid(y)), function void CGPathMoveToPoint(CGMutablePathRef, const CGAffineTransform *, CGFloat, CGFloat), file Paths/CGPath.cc, line 254.
on iOS 8, getting bad access on -(CGFloat)parentWidth method return _parentView.bounds.size.width; line.
For solution: in presentPopoverFromPoint method
_parentView = [_window.subviews objectAtIndex:0];
line replaced with;
_parentView = _window.rootViewController.view;