Commit e9eada54 authored by yuzheng's avatar yuzheng

fix tz_statusBarHeight

parent 661011ad
......@@ -936,7 +936,7 @@
+ (CGFloat)tz_statusBarHeight {
if ([UIWindow instancesRespondToSelector:@selector(safeAreaInsets)]) {
return [self tz_safeAreaInsets].top > 0 ?: 20;
return [self tz_safeAreaInsets].top ?: 20;
}
return 20;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment