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

Setting title for each textField #27

Closed
brbgyn opened this issue Feb 22, 2014 · 6 comments
Closed

Setting title for each textField #27

brbgyn opened this issue Feb 22, 2014 · 6 comments
Assignees

Comments

@brbgyn
Copy link

brbgyn commented Feb 22, 2014

Hi, i'm trying to set a tittle for the keyboard toolbar for each text field...

I managed to set a fixed title, by adding a UIBarButtonItem between 2 "nilButton"...

What i'm trying to do now is change this title every time the selected textFiled is change, to show, for example, the title "Name" when the name texfield is being filled, "Date" when the date textfield is being filled....

How should i do that ?

Thank you

@hackiftekhar
Copy link
Owner

Do you want to set the title of the UIToolbar?

@brbgyn
Copy link
Author

brbgyn commented Feb 22, 2014

I want to set the title of the toobar that is created above the keyboard...

Look at this screenshot:

foto 22-02-14 15 29 39

Where there is a "Titulo", i want to change to "Data da Compra", "Data do Vencimento"... etc.. according to the field selected.

@hackiftekhar
Copy link
Owner

Thanks for giving me an idea to enhance a new feature in IQKeyboardManager. You are doing right dude. I will implement thhis new functionality very soon.

@hackiftekhar
Copy link
Owner

Added a property to automanage placeholder titles.
[[IQKeyboardManager sharedManager] setShouldShowTextFieldPlaceholder:YES];

@brbgyn
Copy link
Author

brbgyn commented Feb 25, 2014

You are welcome and thank you !

@hackiftekhar
Copy link
Owner

Thanks for giving new idea.

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

No branches or pull requests

2 participants