소스 검색

Pull from the root TabBarController (#4637)

Patrick Aubin 6 년 전
부모
커밋
8cee745334
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      lib/ios/Constants.m

+ 1
- 1
lib/ios/Constants.m 파일 보기

@@ -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