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.8k
Aug ’22
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?
Replies
2
Boosts
0
Views
1.8k
Activity
Aug ’22
Is there a option to set the iOS simulator dark mode from command line?
I want to run unit tests on my CI in the simulator when it is set to dark mode. Is there an option for 'xcodebuild' or 'simctl' to put the simulator in dark mode?Or do I have to file a radar?
Replies
4
Boosts
0
Views
5.8k
Activity
Jun ’22