Top "Uifontdescriptor" questions

UIFontDescriptor objects provide a mechanism to describe a font with a dictionary of attributes.

Add custom weight to iOS Font descriptor in Swift

This seems like it should be rudimentarily easy, but for whatever reason it's not working. I've read similar posts on …

ios swift fonts uifontdescriptor
A better way to use Dynamic Type with a custom font in Swift 3/iOS10

I tried two ways: Method 1: label.font = UIFont.preferredFont(forTextStyle: UIFontTextStyle.body) label.adjustsFontForContentSizeCategory = true This works fine, even when …

ios swift fonts uifontdescriptor dynamic-type-feature