Я пытаюсь создать UIAlertAction с текстом черного цвета для первой кнопки и синим для второй. Если я изменю оттенок, все станет черным, но я не могу изменить первую кнопку на черную без нее. Ниже мой код:
let alert = UIAlertController(title: "", message: "", preferredStyle: .actionSheet)
// alert.view.tintColor = UIColor.black
alert.addAction(UIAlertAction(title: "First", style: .cancel, handler: nil))
alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
self.present(alert, animated: true, completion: nil)