下载地址:https://github.com/romaonthego/RESideMenu效果如下:官方案例 自己的实现效果 具体代码下:AppDelegate.m文件中- (BOOL)application:(UIApplication *)application d ...
下载地址:https://github.com/romaonthego/RESideMenu
效果如下:官方案例
自己的实现效果
具体代码下:
AppDelegate.m文件中
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions方法
DEMOLeftMenuViewController *leftMenuViewController = [[DEMOLeftMenuViewController alloc] init]; RESideMenu *sideMenuViewController = [[RESideMenu alloc] initWithContentViewController:[[MainTabBarController alloc]init] leftMenuViewController:leftMenuViewController rightMenuViewController:[UINavigationController new]]; sideMenuViewController.backgroundImage = [UIImage imageNamed:@"005.jpg"]; sideMenuViewController.menuPreferredStatusBarStyle = 1; // UIStatusBarStyleLightContent sideMenuViewController.delegate = self;// sideMenuViewController.parallaxContentMaximumRelativeValue=100;// sideMenuViewController.bouncesHorizontally=YES; sideMenuViewController.contentViewShadowColor = [UIColor blackColor]; sideMenuViewController.contentViewShadowOffset = CGSizeMake(0, 0); sideMenuViewController.contentViewShadowOpacity = 0.6; sideMenuViewController.contentViewShadowRadius = 12;// sideMenuViewController.contentViewShadowEnabled = YES;// sideMenuViewController.panFromEdge=NO; self.window.rootViewController = sideMenuViewController;
海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com
原标题:iOS RESideMenu 侧滑 第三方类库
关键词:IOS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。