Post

Replies

Boosts

Views

Activity

Get bold font accessibily setting
I'm using a custom font im my App. I setup my custom font to honor the dynamic type. I use UIFontMetrics(forTextStyle: textStyle).scaledFont(for: font) for this. But this does not set the font to bold when in the accessibilty settings the the "Bold Text" switch is turned on. Is there a way to find out that the "Bold Text" is on, so that I also can set the font to bold?
2
0
1.5k
Aug ’22