How to change UIAlertAction's title Font

I wanna get custom alert.
So i decided to change alert's title font with NSMutableAttributedString, But AlertAction couldn't change.
There are many write for change UIAlertController but there isn't about AlertAction
So help me.
Answered by Claude31 in 643910022
You can do this on title and message
https://stackoverflow.com/questions/52095864/change-uialertcontrollers-title-fontsize

That does not seem possible for actions titles. And that would be against HIG rules, so don't do it. In addition, users are accustomed to the presentation. A change would disturb them.
That would require using private API, hence forbidden, except for your personal use, but not for Appstore.
https://stackoverflow.com/questions/26460706/uialertcontroller-custom-font-size-color?noredirect=1&lq=1

If you need such flexibility, create your own View with the buttons for actions.
Accepted Answer
You can do this on title and message
https://stackoverflow.com/questions/52095864/change-uialertcontrollers-title-fontsize

That does not seem possible for actions titles. And that would be against HIG rules, so don't do it. In addition, users are accustomed to the presentation. A change would disturb them.
That would require using private API, hence forbidden, except for your personal use, but not for Appstore.
https://stackoverflow.com/questions/26460706/uialertcontroller-custom-font-size-color?noredirect=1&lq=1

If you need such flexibility, create your own View with the buttons for actions.
Thanks for answering
Actually the hack that uses KVO does not work with iOS 14. The fonts just get changed to something weird, definitely not what you were trying to set.
How to change UIAlertAction's title Font
 
 
Q