mirror of
https://github.com/DKJone/DKWechatHelper.git
synced 2026-07-29 06:12:07 +08:00
提供源码 更新readme
提供源码 更新readme
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
UITabBarController * tabbarVC = (UITabBarController *)UIApplication.sharedApplication.keyWindow.rootViewController;
|
||||
NSArray<UINavigationController *> *vcs = tabbarVC.childViewControllers;
|
||||
|
||||
|
||||
return vcs[tabbarVC.selectedIndex];
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
CGFloat width = [FUiUtil screenWidthCurOri];
|
||||
CGFloat y = [FUiUtil navigationBarHeightCurOri] + [FUiUtil normalStatusBarHeight];
|
||||
CGFloat height = [FUiUtil visibleHeight:[DKHelper navigationContrioller].viewControllers.firstObject] - y;
|
||||
return CGRectMake(0, y, width, height);
|
||||
return CGRectMake(0, y, width, height);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user