Skip to content

Commit

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

0 comments on commit 48fa145

Please sign in to comment.