iOS 第三方JASidePanels侧滑
在appDelegate中导入头文件
#import"JASidePanelController.h"
self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
//定义控制器
self.viewController = [[JASidePanelController alloc]init];
self.window.backgroundColor = [UIColor whiteColor];
//设置右侧控制器
self.viewController.leftPanel = [[ViewController2 alloc]init];
//设置导航根控制
UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:[[ViewController alloc]init]];
self.viewController.centerPanel = nav;
self.window.rootViewController =self. viewController;
[self.window makeKeyAndVisible];