let dictTitleColor = [NSAttributedStringKey.foregroundColor: UIColor.LTColor()]
let titleAttributedString = NSMutableAttributedString(string: title, attributes: dictTitleColor)
alert.setValue(titleAttributedString, forKey: "attributedTitle")
When I Increase the font size of the device the title string dont increase i have set this string in alertview controller ? So How to make This Responsive to font size Change ?
NOTE: This will fail if the popup is presented and then user changed the font size in the accessibility settings. For this case you might need to listen to the
UIContentSizeCategory.didChangeNotification
and update the font size there.e.g.
The method