소스 검색

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

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.