Navigation Menu

Skip to content

Commit

Permalink
优化:引入该三方库的项目可以在xcode11以下的xcode上编译运行
Browse files Browse the repository at this point in the history
  • Loading branch information
xindong dou committed Dec 18, 2019
1 parent 7d9423e commit b70622f
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CYLTabBarController/CYLTabBar.m
Expand Up @@ -124,6 +124,7 @@ - (NSString *)plusButtonTabBarContext {
}

- (void)presetUnselectedItemTintColor {
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
if (@available(iOS 13.0, *)) {
if (self.unselectedItemTintColor) {
return;
Expand All @@ -141,6 +142,7 @@ - (void)presetUnselectedItemTintColor {
}];
self.unselectedItemTintColor = tabLabelTextColor;
}
#endif
}

- (void)layoutSubviews {
Expand Down

0 comments on commit b70622f

Please sign in to comment.