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
[self mainSlideMenu] return nil after second call of MainVC, I use the storyboard version and the MainVC. The difference I see compared to your example is that the view -1 (just before the MainVC I have a ViewController not a NavigationController).
to fix the problem I had to do this:
`AMSlideMenuMainViewController *mainVC = [self mainSlideMenu];
if (mainVC==nil)
{
UINavigationController *navigationController = self.navigationController;
//look for mainvc
for (UIViewController * view in navigationController.viewControllers)
{
AMSlideMenuMainViewController * viewtmp = (AMSlideMenuMainViewController *)view;
if (viewtmp!=nil) mainVC = viewtmp;
}
}
`
best regards,
Eric
The text was updated successfully, but these errors were encountered:
Hi,
[self mainSlideMenu] return nil after second call of MainVC, I use the storyboard version and the MainVC. The difference I see compared to your example is that the view -1 (just before the MainVC I have a ViewController not a NavigationController).
to fix the problem I had to do this:
`AMSlideMenuMainViewController *mainVC = [self mainSlideMenu];
`
best regards,
Eric
The text was updated successfully, but these errors were encountered: