clearsOnBeginEditing
A Boolean value that determines whether the text field removes old text when editing begins.
Declaration
var clearsOnBeginEditing: Bool { get set }Discussion
If this property is set to true, the text field’s previous text is cleared when the user selects the text field to begin editing. If false, the text field places an insertion point at the place where the user tapped the field.