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

Not working in iOS 8 #106

Open
kcakhil opened this issue Aug 22, 2014 · 9 comments
Open

Not working in iOS 8 #106

kcakhil opened this issue Aug 22, 2014 · 9 comments

Comments

@kcakhil
Copy link

kcakhil commented Aug 22, 2014

FPPopover is not working in iOS 8. Please fix it for iOS 8.

@smartbot
Copy link

Not sure if this is the same issue, but it seems that the popover doesn't display correctly in iOS 8.

screen shot 2014-09-15 at 2 45 41 am

@fullc0de
Copy link

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.

@smartbot
Copy link

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)];

@jneiluj
Copy link

jneiluj commented Sep 17, 2014

In FPPopoverController.m
-(void)presentPopoverFromPoint:(CGPoint)fromPoint

I replaced:
_parentView = [_window.subviews objectAtIndex:0];
with
_parentView = [_window.subviews lastObject];

@SoftwareEngieer
Copy link

Hi all,

on iOS 8, getting bad access on
-(CGFloat)parentWidth method
return _parentView.bounds.size.width; line.

How can i resolve this crash ?

@IcuScc
Copy link

IcuScc commented Mar 13, 2015

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...

@windfringe
Copy link

@jneiluj thx!

@mvn-tony-hn
Copy link

@jneiluj thank so much. I hope this issue will be updated soon!

@ThornDev
Copy link

In FPPopoverController.m
-(void)presentPopoverFromPoint:(CGPoint)fromPoint

I replaced:
_parentView = [_window.subviews objectAtIndex:0];
with
_parentView = [_window.subviews lastObject];

this is nice!!!

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

9 participants