I recently updated to iOS13 and realized that the textcolor of my actionsheets doesn't change anymore. I use the code below and it works fine if I choose .alert as the preferred style, but when I use .actionSheet the textcolor stays in the default grey.
I extended the UIAlertController-class with an apply-style-function where I do the following:
let attributedTitle = NSAttributedString(string: self.title ?? "", attributes: [NSAttributedString.Key.font : UIFont(name: globals.mainFont, size: 18.0)!, NSAttributedString.Key.foregroundColor : UIColor.white])
let attributedMessage = NSAttributedString(string: self.message ?? "", attributes: [NSAttributedString.Key.font : UIFont(name: globals.mainFont, size: 14.0)!, NSAttributedString.Key.foregroundColor : UIColor.white])
self.setValue(attributedTitle, forKey: "attributedTitle")
self.setValue(attributedMessage, forKey: "attributedMessage")