FPPopover icon indicating copy to clipboard operation
FPPopover copied to clipboard

iOS 8 crash, getting bad access

Open SoftwareEngieer opened this issue 10 years ago • 1 comments

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;

SoftwareEngieer avatar Oct 30 '14 13:10 SoftwareEngieer

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.

dashuai007 avatar Apr 25 '15 03:04 dashuai007