Swift 5 Change Message Color Of Alert

[Solved] Swift 5 Change Message Color Of Alert | Swift - Code Explorer | yomemimo.com
Question : swift 5 change message color of alert

Answered by : wicked-wolf-kfrr7ktv1iyg

Swift 5:
messageKey = "attributedMessage"
titleKey = "attributetTitle"
alert.setValue( NSAttributedString( string: "Your alert message text", attributes: [ .foregroundColor : .red ]
), forKey: messageKey )

Source : | Last Update : Tue, 07 Dec 21

Answers related to swift 5 change message color of alert

Code Explorer Popular Question For Swift