简体   繁体   中英

Side Menu not showing correctly

I am using a third-party Side Menu .

I did exactly what the tutorial do, but I can't get the menu to show. It just slide out a black page, which supposed to be the side menu.

And here's the warning :

SideMenu Warning: menuLeftNavigationController cannot be modified while it's presented. 2016-12-03 17:27:44.533 [95337:11887108] Warning: Attempt to present on which is already presenting

I've been trying to tackle this for hours, I also asked people who made the menu but...

Anyone could please point out what might goes wrong?

确保您的初始UIViewController嵌入在导航控制器中,

Goto SideMenuManager.swift file and comment the following code( i comment this code in pod and my menu is working properly) guard oldValue?.presentingViewController == nil else { print("SideMenu Warning: menuLeftNavigationController cannot be modified while it's presented.") menuLeftNavigationController = oldValue return }

Screenshort:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM