没有带有活力的UIVisualEffectView点击按钮会变得更暗 . 然而,当活力开启时,这不起作用 . 有什么办法吗?

Edit:

当UIButton只包含文本时,它会变暗 . 我所做的是使用UIButton的背景图像 . 所以我需要背景图像变暗 . 我知道这可以通过创建第二个更暗的背景图像来实现 . 然后你可以创建一个@IBAction,当用户按下按钮时背景会被改变 . 但是在按钮上快速点击时图像不会改变 .

这适用于backgroundColor:

@IBAction func plusPressed(sender: UIButton) {
    plusButton.backgroundColor = UIColor(red: 119.0/255.0, green: 211.0/255.0, blue: 113.0/255.0, alpha: 1.0)

}

@IBAction func minusPressed(sender: UIButton) {
    minusButton.backgroundColor = UIColor(red: 255.0/255.0, green:119.0/255.0, blue: 107.0/255.0, alpha: 1.0)

}