ICoder
ICoder

Reputation: 1347

How to add custom buttons to keyboard and customize action for the return key

how can we add coustom buttons in defaultkeypad or how to write action for "go" or "done" button in keypad,,

thanks

Upvotes: 1

Views: 307

Answers (2)

Marcelo Cantos
Marcelo Cantos

Reputation: 185902

Hook the UITextField's Did End On Exit action.

Upvotes: 0

saadnib
saadnib

Reputation: 11145

for writing action fro "go" and "done" button you have to implement the correspondence delegate of your component, for example if you are using a UItextField you have to implement the following delegate -

-(BOOL) textFieldShouldReturn:(UITextField *)textField

Upvotes: 1

Related Questions