mikefrederick / MFSideMenu

Facebook-like side menu for iOS
Other
1.17k stars 291 forks source link

Bug with UITabBarController and multiple UINavigationController #17

Closed BetterCallJohn closed 12 years ago

BetterCallJohn commented 12 years ago

If I use UITabBar and UINavigationController programmatically there is an issue with MFSideBarMenu.

The sideMenuController doesn't appear if there are more than one TabBarItem.

Code :

Any solutions ?

Thanks

mikefrederick commented 12 years ago

The library wasn't created for use with a UITabBarController. Feel free to fork it and create a version that is compatible.

MFSideMenu is designed to work off of one UINavigationController. Your UITabBarController has multiple UINavigationControllers, and that's why the library wouldn't work with more than one tab.

mikefrederick commented 12 years ago

I pushed a large update to the MFSideMenu project today and it now supports UITabBarController-based apps. Download the sample project for an example of how to implement it.