Type Property 型プロパティ

allowsSelection

A Boolean value that indicates whether the selectability type allows selection.

Declaration 宣言

static var allowsSelection: Bool { get }

Discussion 議論

Conforming types, such as EnabledTextSelectability and DisabledTextSelectability, return true or false for this property as appropriate. SwiftUI expects this value for a given selectability type to be constant, unaffected by global state.