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 size
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 = Accessibili
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 UIContentSiz