i want to set first text on my UISearchBar -the text is "Search"-, and the text will disappear when user start typing. just like this:
how it could be.??? thanx
i want to set first text on my UISearchBar -the text is "Search"-, and the text will disappear when user start typing. just like this:
how it could be.??? thanx
use placeholder
property to set your grayish text that get disappears while text is written on it
that's the placeholder text, you can set it in Interface Builder, or programmatically with UISearchBar's placeholder property