BonMot
BonMot copied to clipboard
UIButton label does not scale with fontMetrics
Looks like this is actually a problem with how iOS handles setAttributedTitle()
on UIButton. We could support the work around, by setting the button's label's attributedText
first and then using that to setAttributedTitle()
.
Discussion/investigation of problem: https://stackoverflow.com/a/56878374