jeudi 1 janvier 2015

Swift-XCode - How to let Text Field have set values the user can choose from?

I understand how the normal text field works where the user can input their own text, but is there a way where the user clicks the text field and it comes up with some options, such as "Hello", "Bye", and "Goodnight"?


It's sort of like a placeholder with more options, and the placeholder really isn't in effect in this because when the user clicks the text field, the options pop up for text to select, and the user can select the text and that text will be used in the text field.


Thanks!




Aucun commentaire:

Enregistrer un commentaire