Creates the state that describes if a UI element is selected.
- parameter isSelected: A Boolean value that indicates whether the UI element is selected.
get · iOS 18.4+
isSelected
TypeScript
get isSelected(): boolean
Swift declaration
var isSelected: Bool
A Boolean value that indicates whether the UI element is selected.
set · iOS 18.4+
isSelected
TypeScript
set isSelected(value: boolean)
Swift declaration
var isSelected: Bool
A Boolean value that indicates whether the UI element is selected.