Open kcakhil opened 10 years ago
Not sure if this is the same issue, but it seems that the popover doesn't display correctly in iOS 8.
It seems that items of [UIApplication sharedApplication].windows' subviews is changed. First one of items is being used by FPPopoverController to present a popoverview by adding it as a subview.
I ended up changing the _contentView frame location (by 30 pixels) in FPPopoverController.m to adjust for the overlap:
_contentView = [[FPPopoverView alloc] initWithFrame:CGRectMake(0, 30, self.contentSize.width, self.contentSize.height)];
In FPPopoverController.m -(void)presentPopoverFromPoint:(CGPoint)fromPoint
I replaced: _parentView = [_window.subviews objectAtIndex:0]; with _parentView = [_window.subviews lastObject];
Hi all,
on iOS 8, getting bad access on -(CGFloat)parentWidth method return _parentView.bounds.size.width; line.
How can i resolve this crash ?
Hi to everybody. @jneiluj your solution is perfect..!! thanks.
my problem was, when i open view controller from tabbar using segue, the popover not show.. with your solution i solve it...
@jneiluj thx!
@jneiluj thank so much. I hope this issue will be updated soon!
In FPPopoverController.m -(void)presentPopoverFromPoint:(CGPoint)fromPoint
I replaced: _parentView = [_window.subviews objectAtIndex:0]; with _parentView = [_window.subviews lastObject];
this is nice!!!
FPPopover is not working in iOS 8. Please fix it for iOS 8.