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

Tapping button doesn't dismiss menu #26

Open
smpdawg opened this issue Mar 13, 2014 · 0 comments
Open

Tapping button doesn't dismiss menu #26

smpdawg opened this issue Mar 13, 2014 · 0 comments

Comments

@smpdawg
Copy link

smpdawg commented Mar 13, 2014

I had a table view controller inside a tab view controller. If I show the menu from the tab bar controller it will dismiss as expected. If I try to create and show the menu from the table view controller, the menu never dismisses but instead disappears very briefly and reappears. My workaround was the change the call to show if I was in the table view controller. The delegate is still set to self. Here is the before and after.

Before:
[av showInViewController:self center:CGPointMake(self.view.bounds.size.width/2.f, self.view.bounds.size.height/2.f)];

After:
[av showInViewController:self.parentViewController center:CGPointMake(self.view.bounds.size.width/2.f, self.view.bounds.size.height/2.f)];

Hope this helps anyone else that had the same thing happen.

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