Код: Выделить всё
fileprivate func setEnableButton() {
button.isUserInteractionEnabled = true
button.setTitleColor(.white, for: .normal)
Подробнее здесь: [url]https://stackoverflow.com/questions/79652443/uibutton-settitlecolor-crash-after-called-back-from-delegate[/url]
Мобильная версия