So habe ich einen Tabellenansicht-Controller und mit https://github.com/jonkykong/SideMenu ich versuche, eine "Folie in" Seitenleiste anzuzeigen, die funktioniert, aber es zeigt mir nicht die Ansicht, die ich in der Seitenleiste will schwarz istSwift SideMenu Show-View-Controller
// Define the menus
let menuLeftNavigationController = UISideMenuNavigationController()
menuLeftNavigationController.leftSide = true
// UISideMenuNavigationController is a subclass of UINavigationController, so do any additional configuration of it here like setting its viewControllers.
SideMenuManager.menuLeftNavigationController = menuLeftNavigationController
// Enable gestures. The left and/or right menus must be set up above for these to work.
// Note that these continue to work on the Navigation Controller independent of the View Controller it displays!
SideMenuManager.menuAddPanGestureToPresent(toView: self.navigationController!.navigationBar)
SideMenuManager.menuAddScreenEdgePanGesturesToPresent(toView: self.navigationController!.view)
Wenn es klickt auf die Schaltfläche Sidebar ich das haben, was die Animation erstellt, aber zeigt nicht die Viewcontroller
func someAction(){
present(SideMenuManager.menuLeftNavigationController!, animated: true, completion: nil)
debugPrint("clicked")
}
das gleiche Problem. Leider fällt uns Autor aus Fragen :( – djdance