Преглед на файлове

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

Steven преди 3 месеца
родител
ревизия
7907cd33e2
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      KulexiuForStudent/KulexiuForStudent/Module/Login/View/InstrumentChooseBottonView.m

+ 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.