Created by: gonzula
In iOS 13 (GM) the text field default font name is .SFUI-Regular
which for some reason, when used in +fontWithName:size:
returns a Times New Roman UIFont.
This can be noted in the playground:
and in an iOS app results in the floating label using Times New Roman as default font:
Thus, +fontWithName:size:
is not safe to create a copy of the font. In this PR I changed those calls to use -fontWithSize:(CGFloat)fontSize
which fixes the problem: