iOSTextField.PlaceHolder

From Xojo Documentation

Property (As Text )
aiOSTextField.PlaceHolder = newTextValue
or
TextValue = aiOSTextField.PlaceHolder

Supported on Mobile (iOS).

The placeholder text that appears when the field is empty.

Notes

Placeholders are not the actual text so they do not need to be cleared before typing. Placeholders are useful for smaller screens because they can replace having a separate label to describe what to enter in the field.

Sample Code

Set the placeholder text:

NameField.PlaceHolder = "Enter your name"