Friend-LGA / LGSideMenuController

iOS view controller which manages left and right side views
MIT License
2.05k stars 331 forks source link

Tabbar with sidemenu #165

Closed farazhaider88 closed 3 years ago

farazhaider88 commented 6 years ago

I want to use tabbar with sidemenu and tabbar containing navigation, is there any Swift example containing this implementation, also is each tabbar view should be inherited from sidemenu to have sidemenu effect.

jahnaviredspark commented 5 years ago

I have faced same issue

NikhilManapure commented 4 years ago

any example?

Friend-LGA commented 3 years ago

You don't need to inherit UITabBarController from LGSideMenuController. You just need to make LGSideMenuController as your window's root controller, and make UITabBarController as a root controller for LGSideMenuController

Like this:

let tabBarController = UITabBarController()
let sideMenuController = LGSideMenuController()
sideMenuController.rootViewController = tabBarController
window.rootViewController = sideMenuController
Friend-LGA commented 3 years ago

I've added a few examples in Demo projects. Check Usage section on latest master:

ahmedayoub95 commented 1 year ago

Hy Faraz did you solved this issue?