79833704

Date: 2025-11-30 05:55:47
Score: 1
Natty:
Report link

For latest swift versions, Xcode 16 and iOS 18, below solution works.

button.configuration = nil
button.titleLabel?.adjustsFontSizeToFitWidth = true

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Asad Mehmood