I am using UISearchBar in my code. I imported its delegate into the header file and also implemented some delegation methods in the implementation file.
When we click on the UISearchBar , a keyboard will appear to enter text. Keyboard return key - "Search" button. By default, it will turn off. When we enter a character, it will be turned on. (Correctly?)
This is where the problem arises. I want to enable the UISearchBar keyboard return key when the user enters at least two letters.
Is it possible? If so, how can we do this?
thanks
Confused
source share