Reputation: 19869
Using CSS property to set SF font in a WebView I use - -apple-system-short-body
Trying to implement this font programatically I do not find this style. I believe this is related somehow to tracking but I could not figure this out.
EDIT
I know I can use -
UIFont.preferredFontForTextStyle(UIFontTextStyleBody)
But this will be equivalent to -apple-system-body
while I looks for -apple-system-short-body
Any help? Thanks
Upvotes: 0
Views: 100
Reputation:
According to this answer, Short corresponds to the UIFontDescriptorTraitTightLeading
symbolic trait.
Upvotes: 1