Pārlūkot izejas kodu

Pull from the root TabBarController (#4637)

Patrick Aubin 6 gadus atpakaļ
vecāks
revīzija
8cee745334
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      lib/ios/Constants.m

+ 1
- 1
lib/ios/Constants.m Parādīt failu

@@ -15,7 +15,7 @@
15 15
 }
16 16
 
17 17
 + (CGFloat)bottomTabsHeight {
18
-	return UIApplication.sharedApplication.delegate.window.rootViewController.tabBarController.tabBar.frame.size.height;
18
+	return CGRectGetHeight(((UITabBarController *)((UIWindow *)(UIApplication.sharedApplication.windows[0])).rootViewController).tabBar.frame);
19 19
 }
20 20
 
21 21
 @end