aryaxt / iOS-Slide-Menu

iOS Slide Menu with ability to add both left and right menu, and built in gesture recognizer. Similar to Path and Facebook
Other
1.53k stars 359 forks source link

Left Menu render Blank View #222

Open fajaradiwa opened 8 years ago

fajaradiwa commented 8 years ago

UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle: nil];

LeftViewController *leftMenu = [mainStoryboard instantiateViewControllerWithIdentifier: @"LeftViewController"];

[SlideNavigationController sharedInstance].leftMenu = leftMenu;

menu transition work well ... but the side menu render blank (black screen) ... need help ? :(

3r1k83 commented 7 years ago

I have same bug, any idea?

coolcool1994 commented 7 years ago

I have the same error

luisvasquez commented 7 years ago

I had that issue and solved it by setting the left menu on my VC instead of the AppDelegate.

I mean, put the code bellow into the viewDidLoad method of your VC witch shows the menu.

UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle: nil]; LeftViewController *leftMenu = [mainStoryboard instantiateViewControllerWithIdentifier: @"LeftViewController"]; [SlideNavigationController sharedInstance].leftMenu = leftMenu;

neowinston commented 5 years ago

luisvasquez solution didn't work for me. Anyone else has a fix for this bug? Thanks!

luisvasquez commented 5 years ago

luisvasquez solution didn't work for me. Anyone else has a fix for this bug? Thanks!

Sorry, I don't remember that solution and don't have access to that code anymore. :/

neowinston commented 5 years ago

No problem, but thanks anyway for your reply. I solved my problem following the instructions on this post: (https://github.com/aryaxt/iOS-Slide-Menu/issues/62)

luisvasquez commented 5 years ago

No problem, but thanks anyway for your reply. I solved my problem following the instructions on this post: (#62)

Great!