FPPopover icon indicating copy to clipboard operation
FPPopover copied to clipboard

Calling presentPopoverFromPoint following a call to presentPopoverFromView doesn't work

Open tspike opened this issue 12 years ago • 0 comments

This appears to be because the _fromView instance variable gets set when presentPopoverFromView is called and never gets cleared.

To work around it in my project, I added the following method to FPPopoverController:

- (void) resetView
{
    SAFE_ARC_RELEASE(_fromView);
    _fromView = nil; 
}

I call this method when I need to move the popover and it appears to work.

tspike avatar Aug 21 '13 20:08 tspike