I want to be able to check what Dynamic Type Size the user is using so that I can adjust my UI accordingly. I want to support all DynamicTypeSizes (up to .xxxLarge) but the interface would look better with spacing on the smaller type sizes. Adding spacing when extra large sizes are being used is impossible due to size constraints.
I know that I can limit the range of Dynamic Type Sizes available to the user but I would like to allow any size for accessibility’s sake. Ideally I could do something like if usingXXXLargeSize { <modified view> } else { <normal view> }
or .padding(usingXXXLargeSize ? 0 : 10)
.