You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: