how do I put text in the UITextfield like what you see in the screenshot attach in objective c?

UITextfield how do I put text in it and when focused it goes away
Who is Participating?
Hamidreza VakilianSenior iOS DeveloperCommented:
myTextField.placeholder = @"Your Placeholdertext";

Open in new window

Hamidreza VakilianSenior iOS DeveloperCommented:
in interface builder choose the uitextfield
from the right panel go to attributes section
enter your text in placeholder part
charmingduckAuthor Commented:
could you show me the code? I am new at this.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.