I am using CheckButton and I am not able to change its selected color for selected state.
Got the solution
checkBoxButton.setIconColor(Color.darkText.value, for: .selected) checkBoxButton.setIconColor(Color.darkText.value, for: .normal) checkBoxButton.checkmarkColor = UIColor.white checkBoxButton.backgroundColor = UIColor.white