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

Black View in Menu #42

Closed
klinkert0728 opened this issue May 14, 2014 · 2 comments
Closed

Black View in Menu #42

klinkert0728 opened this issue May 14, 2014 · 2 comments

Comments

@klinkert0728
Copy link

When I open the leftMenu, why is this View Black?

UIStoryboard * storyboard = [UIStoryboard storyboardWithName:@"Profe5" bundle:nil];
LeftTableViewController * menu = (LeftTableViewController *)[storyboard instantiateViewControllerWithIdentifier:@"LeftTableViewController"];

[SlideNavigationController sharedInstance].leftMenu = menu;

also I already have this Code

- (BOOL)slideNavigationControllerShouldDisplayLeftMenu {
    return YES; 
}

Somebody know why ?

Thank you for your answer

@aryaxt
Copy link
Owner

aryaxt commented May 15, 2014

Check to see if menu is nil or not. Also how do you initialize the SlideNavigation controller?

If you do in storyboard it should be the starting point of the application.

If it's not the starting point of the application it means you need to wait until your application gets to that point before setting the LeftMenu, maybe detecting the load of SlideNavigationController using prepareForSegue

@klinkert0728
Copy link
Author

thank you very much,
you solved the problem

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

2 participants