Identifies whether the text object should disable text copying and in some cases hide the text being entered.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
This property is set to
false by default. Setting this property to
true in any view that conforms to
UIText disables the user’s ability to copy the text in the view. Setting this property to
true in a
UIText object additionally enables a password-style experience, in which the text being entered is obscured.