ChenYilong

Results 168 comments of ChenYilong

 疑似是属于系统bug, 在隐藏导航栏的情况下, 如果在滑动翻页手势可能出现错乱, 我提供了几个API用来规避: 请参考下面文件里的几个API: https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController/UIViewController%2BCYLNavigationControllerExtention.h ```Flutter /*! * 使用方法:用在viewWillDisappear/dealloc * 作用:在左滑动的过渡的时间段内禁用interactivePopGestureRecognizer */ - (void)cyl_disableInteractivePopGestureRecognizer; /*! * use in viewDidDisappear * 作用:在左滑动的结束后启用interactivePopGestureRecognizer */ - (void)cyl_enableInteractivePopGestureRecognizer; ```

## 注意 ```Java UITabBarAppearance *standardAppearance = [[UITabBarAppearance alloc] init]; //shadowColor和shadowImage均可以自定义颜色, shadowColor默认高度为1, shadowImage可以自定义高度. standardAppearance.shadowColor = [UIColor cyl_systemGreenColor]; // standardAppearance.shadowImage = [[self class] imageWithColor:[UIColor cyl_systemGreenColor] size:CGSizeMake([UIScreen mainScreen].bounds.size.width, 1)]; ```

@Lee0820 偏移量相关的代码我没动,是不是不设置分割线就生效了?

@Lee0820 Lee 在这里回复你了 https://github.com/ChenYilong/CYLTabBarController/issues/456

见讨论 https://github.com/ChenYilong/CYLTabBarController/issues/312

别的issue讨论过,设置icon,支持字符串指定、对象指定。字符串会默认给原色,对象指定更灵活。默认有tintcolor,可以自己设置。