|
@@ -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 {
|