Browse Source

调整发音人高度

jsonwang 3 years ago
parent
commit
f3de894e96

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

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