I am trying to change the font of a UIButton using Swift…

myButton.font = UIFont(name: "...", 10)

However .font is deprecated and I’m not sure how to change the font otherwise.

Any suggestions?

18 Answers
18

Leave a Reply

Your email address will not be published. Required fields are marked *