SlideMenuControllerSwift icon indicating copy to clipboard operation
SlideMenuControllerSwift copied to clipboard

PushViewController Not Working in iOS11

Open rathodbhavikkqc opened this issue 7 years ago • 5 comments

I'm using Latest (3.0.2) Version of SlideMenuControllerSwift. My Problem is that code is working perfect till iOS 10.3 but when i tested for iOS 11 in Xcode9 With Simulator method self.navigationViewController?.pushViewController is not working. View is not getting displayed.

I already Checked if navigationController is available or not but it is ok

rathodbhavikkqc avatar Oct 05 '17 12:10 rathodbhavikkqc

I've the same problem, doesnt seem to be related to this control but uinavigationcontroller in general.

nikhilcoolstuff avatar Oct 09 '17 22:10 nikhilcoolstuff

Same problem guys. Any helpful thing anyone got?

NasirMalik avatar Oct 24 '17 14:10 NasirMalik

same problem here

poonamdhomane avatar Dec 14 '17 11:12 poonamdhomane

Same here. Works on simulator 11.2 but not on real device 11.0

BenjaminPiette avatar Mar 19 '18 10:03 BenjaminPiette

try this code:

let storyBoard: UIStoryboard = UIStoryboard(name: "Profile", bundle: nil) let vc = storyBoard.instantiateViewController(withIdentifier: "profile")

if let nav = self.slideMenuController()?.mainViewController as? UINavigationController { nav.pushViewController(vc, animated: true) }

diegoot-dev avatar Apr 19 '21 14:04 diegoot-dev