Re: Accessibility UIContentSizeCategory or current accessibility font setting

2021-10-17 Thread Matt Jacobson via Cocoa-dev
Hey Alex, > On Oct 17, 2021, at 2:51 PM, Alex Zavatone via Cocoa-dev > wrote: > > We’ve got a situation where we need to check the current accessibility font > size enum and apply custom settings to some attributed fonts. I’ve seen that > there is a way to check the current dynamic text

Re: Accessibility UIContentSizeCategory or current accessibility font setting

2021-10-17 Thread Alex Zavatone via Cocoa-dev
If anyone would find this cheap hack useful to check what the current accessibility dynamic text size is set to, here you go. Still, I’d love to know the actual command so that I can remove this. Cheers, Alex Zavatone import Foundation import UIKit // Use like so. // let myString =

Accessibility UIContentSizeCategory or current accessibility font setting

2021-10-17 Thread Alex Zavatone via Cocoa-dev
We’ve got a situation where we need to check the current accessibility font size enum and apply custom settings to some attributed fonts. I’ve seen that there is a way to check the current dynamic text size using SwiftUI, but I haven’t seen how to do it using UIKit. I’ve seen that