Commit 9ea51051 authored by 汪洋's avatar 汪洋

更好的适配iPhoneX

parent 839c52ac
......@@ -245,11 +245,8 @@
}
+ (CGFloat)statusBarHeight {
if ([UIDevice resolutionType] == iPhone58Inches) {
return 44;
} else {
return 20;
}
CGFloat height = [[UIApplication sharedApplication] statusBarFrame].size.height;
return height;
}
+ (CGFloat)navigationItemCenterY {
......
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