How can i set a default text in the search bar that looks grey so that it may hint what you could search before the user touches the search bar so that he may write something?
For example, i could have "Search for coffee shops or restaurants" and when i touch the UISearchBar the text dissapears ?
Try Placeholder property of UISearchBar...and set it as Search for coffee shops or restaurants
Happy coding..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With