Instance Property


A Boolean value indicating whether the Return key is automatically enabled when the user is entering text.


optional var enablesReturnKeyAutomatically: Bool { get set }


The default value for this property is false. If you set it to true, the keyboard disables the Return key when the text entry area contains no text. As soon as the user enters some text, the Return key is automatically enabled.

See Also

Managing the Keyboard Behavior

var isSecureTextEntry: Bool

Identifies whether the text object should disable text copying and in some cases hide the text being entered.