xcode placeholder text code example Example: uitextfield placeholder text textField.placeholder = "placeholderString"