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

Option to disable Done button item #38

Closed
orlandoaleman opened this issue Mar 25, 2014 · 6 comments
Closed

Option to disable Done button item #38

orlandoaleman opened this issue Mar 25, 2014 · 6 comments

Comments

@orlandoaleman
Copy link

I think it will be great able enable/disable the Done button. In text fields you can set Return key to Done.

@hackiftekhar
Copy link
Owner

I'm just trying to mimic the default native UIToolbar of UIWebView keyboard. If some developer wants to do set the return key to done then it should be done by the developer side. Because notifications are not generated when a user presses the return key so I don't have any control over that. For enable/disable the done button I provided the convenient methods add UIToolbar in "IQ_UIView+IQToolbar" class, and it should be handled by the developer manually.

Let me know your views over this.

Thanks
Iftekhar

@orlandoaleman
Copy link
Author

Hi Iftekhar,

I understand and like your point of view. Your approach is really effective with TextViews or when the developer does not want to write extra code to handle the Return button (Done). But in the latter case, Done button is superfluous. Anyway, I understand that the necessary changes not worth it. The component is closely tied to that button.

Thanks for your reply,
Orlando

@hackiftekhar
Copy link
Owner

Thanks

@hackiftekhar
Copy link
Owner

Hi,
Just released v3.1.0 with Return Key support. Now you can use 'IQKeyboardReturnKeyHandler' to use keyboard Return Key as Next without any manual effort. For details please read 'Keyboard Return Key Handling' section on documentation here:-
https://github.com/hackiftekhar/IQKeyboardManager

Thanks
Iftekhar

@orlandoaleman
Copy link
Author

I'm glad this update. I will use it in future versions. thanks for letting me know. Greetings :)

@hackiftekhar
Copy link
Owner

My pleasure. I suggest you to try IQKeyboardManager demo now. Because now It becomes very vast, bug free, iOS8 supported. From now you just need to drag and drop IQKeyboardManager folder to your project and that's all. No need to write any code, and it'll work.

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