Answers for "swift 5 change message color of alert"

0

swift 5 change message color of alert

Swift 5:
messageKey = "attributedMessage"
titleKey = "attributetTitle"
alert.setValue( NSAttributedString(
  string: "Your alert message text",
  attributes: [
    .foregroundColor : .red
  ]
), forKey: messageKey )
Posted by: Guest on November-30-2021

Code answers related to "swift 5 change message color of alert"

Code answers related to "Swift"

Browse Popular Code Answers by Language