Answers for "swiftui alert button text color"

0

uibutton swift set title color

Swift 5
button.setTitleColor( .cyan, for: .normal )
Posted by: Guest on October-21-2021
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"

Browse Popular Code Answers by Language