I have a UITableView with 3 empty rows. The user can select which text to add to each row by touching it. However I would like to set some placeholders in grey, instead of having an empty row.
Something like: “Select it”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m assuming that you are using UITableviewCell’s with UITextField’s in them. If so, in Interface Builder (or the Storyboard) you need to select the label in the cell and then find the placeholder property. Fill in whatever text that you want it to display when the text field’s are empty.
If you created them programatically,then you set the placeholder like this: