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?
You can query the following API to determine whether or not bold text is on https://developer.apple.com/documentation/uikit/1615156-uiaccessibilityisboldtextenabled?language=objc