Selaa lähdekoodia

禁止按钮滑动

harry 3 vuotta sitten
vanhempi
commit
2ecce8dbd0

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

@@ -67,7 +67,7 @@ open class BFStripSwithView: UIView {
                 let itemBtn = UIButton(type: .custom)
                 itemBtn.frame = CGRect(x: CGFloat(index) * (itemSpace + margin), y: (frame.height - itemHeight) / 2, width: margin, height: itemHeight)
                 itemBtn.tag = index + 1
-                itemBtn.addTarget(self, action: #selector(changeSwitch(sender:)), for: .touchUpInside)
+//                itemBtn.addTarget(self, action: #selector(changeSwitch(sender:)), for: .touchUpInside)
                 itemBtn.addCorner(corner: itemHeight / 2)
                 itemBtn.backgroundColor = itemNormalColor
                 if itemBtn.tag == currentIndex + 1 {