Post

Replies

Boosts

Views

Activity

Comment on How to change the font size of a button in Xcode
Part 1: So I ended up testing your solution. Let me tell 😁 you, you get an A+ for effort. It works. However if I initially had the button set at a 75 font size and then when it got pressed I have this code @IBAction func testX(_ sender: UIButton) { DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) { sender.titleLabel?.font = sender.titleLabel?.font.withSize(35) // really HUGE } }
Nov ’22