Instance Property インスタンスプロパティ

dynamicTypeSize

The current Dynamic Type size.

Declaration 宣言

var dynamicTypeSize: DynamicTypeSize { get set }

Discussion 議論

This value changes as the user’s chosen Dynamic Type size changes. The default value is device-dependent.

When limiting the Dynamic Type size, consider if adding a large content view with accessibilityShowsLargeContentViewer() would be appropriate.

On macOS, this value cannot be changed by users and does not affect the text size.

See Also 参照

Text Styles