iOS-Slide-Menu icon indicating copy to clipboard operation
iOS-Slide-Menu copied to clipboard

Black Screen

Open nikhilkhekade opened this issue 9 years ago • 6 comments

Hi

I have a two sets of flows in main story board. One which uses slide menu & other doesnt. Both flows have a button to switch from one flow to another. When I switch for the first time, I can see the menu. But when when I go to second flow & then back to first flow I cant see the menu only black screen. Also when i checked SlideNavigationControllerDidOpen is getting called but the menu is black.

Nikhil

nikhilkhekade avatar Jul 13 '15 18:07 nikhilkhekade

I have exactly the same problem

julianacipa avatar Jul 15 '15 10:07 julianacipa

My problem was that I was reinstantiating the rootview controller of the slide menu programatically. Just saying: [[SlideNavigationController sharedInstance] popToRootViewControllerAnimated:NO]; worked for me

julianacipa avatar Jul 15 '15 10:07 julianacipa

There is also popAllAndSwitchToViewController if you want to replace the entire stack with a new one.

Use side menu for both flows (SlideNavigationController), don't enable menu functionality on viewcontrollers you don't want (your other flow) and it would simply behave like a regular navigation controller

aryaxt avatar Jul 15 '15 15:07 aryaxt

I had the problem when I used popAllAndSwitchToViewController only in the case of going to the rootViewConroller of the slider.

julianacipa avatar Jul 18 '15 09:07 julianacipa

I used the popAll... and it works better for me because using the popToRoot leaves the chevron in the newly presented view.

SCLDev avatar Nov 16 '15 22:11 SCLDev

HI, I am using two different storyboards first time app login showing one storyboard and remaning times showing another storyboard.. when i run app first time menu getting black screen after relaunch app it getting data.. Can you please slove my issuse.. Thanks in advance.

nagurbee avatar Mar 07 '18 12:03 nagurbee