开发者

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" butto开发者_开发问答n in keypad,,

thanks


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


Hook the UITextField's Did End On Exit action.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜