CYLTabBarController
CYLTabBarController copied to clipboard
[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支...
版本:1.29.0 代码: ``` let mainVc = MainView(viewControllers: [ UINavigationController(rootViewController: BookshelfView()), UINavigationController(rootViewController: BookStoreView()), UINavigationController(rootViewController: PersonalView()) ], tabBarItemsAttributes: [ [CYLTabBarItemTitle: "书架", CYLTabBarItemImage: R.image.tab_bookshelf_normal.name, CYLTabBarItemSelectedImage: R.image.tab_bookshelf_selected.name], [CYLTabBarItemTitle: "书城", CYLTabBarItemImage: R.image.tab_store_normal.name, CYLTabBarItemSelectedImage: R.image.tab_store_selected.name], [CYLTabBarItemTitle:...
https://github.com/ChenYilong/CYLTabBarController/issues/392 需要增加版本号判断 -------------------------------------------- -------------------------------------------- ## Base Info for this issue 1. Version:Latest Version as [here](https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController.podspec) 2. Language of App :Objective-C/Swift 4. iOS System Version:iOS12 5. Prototype(是否是真机):YES 6. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A ##...
-------------------------------------------- -------------------------------------------- ## My issue:  当中间门店item并不想加lottie动画时,动画错位:【"购物车"的动效跑到"门店上去"了】 1.采取:当index==2时不设置此参数"CYLTabBarLottieURL"结果,"购物车"的动效跑到"门店上去"了 通过读代码得知:NSURL *lottieURL = self.lottieURLs[index]; 设计缺陷,导致必须要么一致有动画要么不加动画。 2.解决方案:  ## What I have done: fix: 源码改动: 
-------------------------------------------- -------------------------------------------- ## Base Info for this issue 1. Version:Latest Version as [here](https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController.podspec) 2. Language of App :Objective-C/Swift 4. iOS System Version:iOS12 5. Prototype(是否是真机):YES 6. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A ## 1. How...
-------------------------------------------- -------------------------------------------- ## My issue:
-------------------------------------------- -------------------------------------------- ## Base Info for this issue 1. Version:1.29.2 2. Language of App :Objective-C 4. iOS System Version:iOS14.3 5. Prototype(是否是真机):YES 6. Issue Type:Bug ## 1. How to reproduce the...
-------------------------------------------- -------------------------------------------- ## My issue: 当使用最新Xcode创建的项目时,AppDelegate里面没有window属性,会导致崩溃。 ## What I have done: 解决方法是在getMainWindow方法中访问AppDelegate属性时,判断是否有该属性,如果有才访问: ``` static inline UIWindow *getMainWindow(){ ... if ([UIApplication.sharedApplication.delegate respondsToSelector:@selector(window)]) { //兼容新版项目结构,也就是AppDelegate没有window的情况 window = UIApplication.sharedApplication.delegate.window; } ... return window;...
-------------------------------------------- -------------------------------------------- ## Base Info for this issue 1. Version:Latest Version as [here](https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController.podspec) 2. Language of App :Objective-C 4. iOS System Version:iOS12 5. Prototype(是否是真机):YES 6. Issue Type:Bug ## 1. How...
-------------------------------------------- -------------------------------------------- ## My issue: 我首页 跳转 push到下个控制器,右滑返回 不支持了,在其他界面 都是好的 首页没有导航栏。其他界面 也没有导航栏,方法都是一样的。就是 右滑不返回,点击返回按钮 能返回,只在首页会这样
```Java - (UIControl *)cyl_visibleControlWithIndex:(NSUInteger)index { UIControl *selectedControl; @try { NSArray *subControls = self.cyl_visibleControls; selectedControl = subControls[index]; } @catch (NSException *exception) { NSLog(@"🔴类名与方法名:%@(在第%@行),描述:%@", @(__PRETTY_FUNCTION__), @(__LINE__), exception.reason); } return selectedControl; } ```...