I'm trying to figure out how to change font type for UIAlertAction title. I'm assuming, it can be done by setting a value for particular key. For instance, to set an image you would do this:
action.setValue(image, forKey: "image")
Is there a list of all keys that are available? I can't figure out which key to use for changing font, aligning the title left/right, etc...
class_copyIvarList
may be what you need.Swift
then
and the output is
You can use this to change the colour of the UIAlertAction title.
OR
Check this link-UIAlertController custom font, size, color