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

Calling presentPopoverFromPoint following a call to presentPopoverFromView doesn't work #79

Open
tspike opened this issue Aug 21, 2013 · 0 comments

Comments

@tspike
Copy link

tspike commented Aug 21, 2013

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.

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

1 participant