if I'm trying to change the size of UIFont
it changes the font name (ad type).
before:
font.fontName
is equal to @".SFUIText-Regular"
execute this:
font = [font fontWithSize:size];
after:
font.fontName
is equal to @".SFUIDisplay-Regular"
Why? How to avoid this?