I have a search functionality using UISearchBar that occurs on-the-fly, so I think it would be more obvious to replace that "Search" button on the keyboard with "Done".
Is there a way to do that?
thanks
I have a search functionality using UISearchBar that occurs on-the-fly, so I think it would be more obvious to replace that "Search" button on the keyboard with "Done".
Is there a way to do that?
thanks
You can change the keyboardType
property of your UISearchBar object. However, there is not a way to change the returnKeyType
directly. You may be able to filter down and change it manually. Check the documentation for UISearchBar and see if you can find returnKeyType
as that is what you are looking for.