When I call setTitle on a UIButton, the button flashes in iOS 7. I tried setting myButton.highlighted = NO, but that didn\'t stop the button from flashing.
[myBu
Try this, this works in newer versions of IOS:
class CustomButtonWithNoEffect : UIButton { override func setTitle(_ title: String?, for state: UIControlState) { UIView.performWithoutAnimation { super.setTitle(title, for: state) super.layoutIfNeeded() } } }