Browse Source

选择乐器底部按钮位置调整

Steven 3 tháng trước cách đây
mục cha
commit
7907cd33e2

+ 8 - 0
KulexiuForStudent/KulexiuForStudent/Module/Login/View/InstrumentChooseBottonView.m

@@ -38,6 +38,14 @@
     }
 }
 
++ (CGFloat)getViewHeight {
+    if (IS_iPhoneX) {
+        return 44 + 30 + iPhoneXSafeBottomMargin;
+    }
+    else {
+        return 44 + 30 + 20;
+    }
+}
 /*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.