瀏覽代碼

调整 UI

jsonwang 3 年之前
父節點
當前提交
63779c6feb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BFRecordScreenKit/Classes/RecordScreen/View/BFVoiceSettingView.swift

+ 1 - 1
BFRecordScreenKit/Classes/RecordScreen/View/BFVoiceSettingView.swift

@@ -118,7 +118,7 @@ class BFVoiceSettingView: UIView {
 //        layout.minimumInteritemSpacing = (cScreenWidth - 64 - 240) / 3
         layout.sectionInset = UIEdgeInsets.zero
 
-        let collectView = UICollectionView(frame: CGRect(x: 22, y: 118, width: cScreenWidth - 22 * 2, height: 242 - statusBarHeight), collectionViewLayout: layout)
+        let collectView = UICollectionView(frame: CGRect(x: 22, y: 118, width: cScreenWidth - 22 * 2, height: 242 - statusBarHeight + cSafeAreaHeight), collectionViewLayout: layout)
         collectView.isPagingEnabled = false
         collectView.showsHorizontalScrollIndicator = false
         collectView.showsVerticalScrollIndicator = false