Skip to content

Commit 96da0f0

Browse files
committed
1.14.2 fix ChenYilong#189
1 parent 1b2d712 commit 96da0f0

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CYLTabBarController.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "CYLTabBarController"
3-
s.version = "1.14.1"
3+
s.version = "1.14.2"
44
s.summary = "Highly customizable tabBar and tabBarController for iOS"
55
s.description = "CYLTabBarController is iPad and iPhone compatible. Supports landscape and portrait orientations and can be used inside UINavigationController."
66
s.homepage = "https://github.com/ChenYilong/CYLTabBarController"

CYLTabBarController/CYLTabBarController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ - (CYLTabBarController *)cyl_tabBarController {
366366
UIWindow *window = delegate.window;
367367
UIViewController *rootViewController = [window.rootViewController cyl_getViewControllerInsteadIOfNavigationController];;
368368
if ([rootViewController isKindOfClass:[CYLTabBarController class]]) {
369-
tabBarController = (CYLTabBarController *)window.rootViewController;
369+
tabBarController = (CYLTabBarController *)rootViewController;
370370
}
371371
return tabBarController;
372372
}

0 commit comments

Comments
 (0)