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

iOS 8 crash, getting bad access #110

Open
SoftwareEngieer opened this issue Oct 30, 2014 · 1 comment
Open

iOS 8 crash, getting bad access #110

SoftwareEngieer opened this issue Oct 30, 2014 · 1 comment

Comments

@SoftwareEngieer
Copy link

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;

@dashuai007
Copy link

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.

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