File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
iOS/DoraemonKit/Src/Core/Plugin/UI/ViewMetrics/Function Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,12 @@ - (void)doraemon_layoutSubviews
39
39
- (void )doraemonMetricsRecursiveEnable : (BOOL )enable
40
40
{
41
41
// 状态栏不显示元素边框
42
- UIWindow *statusBarWindow = [[UIApplication sharedApplication ] valueForKey: @" _statusBarWindow" ];
43
- if (statusBarWindow && [self isDescendantOfView: statusBarWindow]) {
42
+ // UIWindow *statusBarWindow = [[UIApplication sharedApplication] valueForKey:@"_statusBarWindow"];
43
+ // if (statusBarWindow && [self isDescendantOfView:statusBarWindow]) {
44
+ // return;
45
+ // }
46
+ UIView * statusBarView = [[UIApplication sharedApplication ] valueForKey: @" _statusBar" ];
47
+ if (statusBarView && [self isDescendantOfView: statusBarView.window]){
44
48
return ;
45
49
}
46
50
You can’t perform that action at this time.
0 commit comments