Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide an example of how to use the addDoneOnKeyboardWithTarget? #40

Closed
cbwarz opened this issue Mar 26, 2014 · 6 comments
Closed
Assignees
Labels

Comments

@cbwarz
Copy link

cbwarz commented Mar 26, 2014

Hello,

I'm looking for an example on how to receive events from the Done button, can you please post one?

I have read that is supposed to be done with addDoneOnKeyboardWithTarget, but i had search and can't figure out how.

Thanks for your time.

Carlos

@hackiftekhar
Copy link
Owner

You can call it on any textField object. for example [textField1 addDoneOnKeyboardWithTarget:@selector(doneAction:)];

@cbwarz
Copy link
Author

cbwarz commented Mar 26, 2014

Thank you, that's it.

@hackiftekhar
Copy link
Owner

Hey, Now manual adding UIToolbar example is available in Demo Project too.

@hackiftekhar hackiftekhar self-assigned this Jan 7, 2015
@snailjj
Copy link

snailjj commented May 7, 2016

hey,I am a Chinese ,I want to know the toolbar's Done is a button? or item??? I want to make the “Done” become Chinese

@hackiftekhar
Copy link
Owner

It's UIBarButtonItem.

@snailjj
Copy link

snailjj commented May 9, 2016

okay,thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants