Reputation: 1347
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
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