hackiftekhar/IQKeyboardManager

Option to disable Done button item

orlandoaleman opened this issue · 6 comments

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

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

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

Thanks

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

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

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.