iOS的滑动菜单:iOS-Slide-Menu
jopen
11年前
iOS的滑动菜单,支持左,右菜单,内置手势识别。类似Path 和非死book中提供的功能。
iOS Slide Menu构建在 UINavigationController 之上。并具有以下特性:
- 右菜单
- 左菜单
- 可配置的按纽
- 允许通过implmenting委托方法启用/禁用菜单
- 点击/滑动手势识别来开启/关闭菜单
使用方法:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { LeftMenuViewController *leftMenu = [[LeftMenuViewController alloc] init]; RightMenuViewController *righMenu = [[RightMenuViewController alloc] init]; [SlideNavigationController sharedInstance].righMenu = rightMenu; [SlideNavigationController sharedInstance].leftMenu = leftMenu; // Override point for customization after application launch. return YES; }