iPhone Text entry with completion and DONE button (not search)

Posted by Adam Jack on Stack Overflow See other posts from Stack Overflow or by Adam Jack
Published on 2009-10-22T18:30:24Z Indexed on 2010/03/26 4:23 UTC
Read the original article Hit count: 368

Using iPhone SDK 3.0, I wish to allow text entry with (optional) completion options that appear as typing is occurring, i.e. also allowing freeformat entry. As such I am using a UISearchBar (which has the text change events) and a UISearchDisplayController to present options.

The problems is I want the DONE button to say DONE and not SEARCH, however I cannot find a way to set that. Clearly I feel I am missing something, or Interface Builder of the SDK API would have some property to set.

I have seen other apps (in the store) that have achieved the result I want (free format entry, completion, DONE button) so maybe there is an alternative approach I am missing. Thanks in advance for any pointers.

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about uikit