Skip to content

Commit

Permalink
working on iOS8
Browse files Browse the repository at this point in the history
working on iOS8
  • Loading branch information
ianisme committed Nov 11, 2014
1 parent 48fa145 commit 36a5996
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FPPopoverController.m
Expand Up @@ -243,8 +243,7 @@ -(void)presentPopoverFromPoint:(CGPoint)fromPoint
//keep the first subview
if(_window.subviews.count > 0)
{
// _parentView = [_window.subviews objectAtIndex:0];
_parentView = _window.rootViewController.view;
_parentView = [_window.subviews lastObject];
[_parentView addSubview:self.view];
[_viewController viewDidAppear:YES];
}
Expand Down

0 comments on commit 36a5996

Please sign in to comment.