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

swift - disable for specific view controller #572

Closed
karnakar opened this issue Jul 16, 2016 · 6 comments
Closed

swift - disable for specific view controller #572

karnakar opened this issue Jul 16, 2016 · 6 comments
Labels

Comments

@karnakar
Copy link

Thanks for the awesome library, I tried to disable for specific view controller, as per the doc i tried "disableInViewControllerClass" method, but it is not available in v 4.0.0, i updated the pod file (v 4.0.4) but still I'm unable to see the method in the class "IQKeyboardManager". Can you help this to sort out.

@hackiftekhar
Copy link
Owner

This is replaced by disabledDistanceHandlingClasses NSMutableSet property

@karnakar
Copy link
Author

will this return disabledDistanceHandlingClasses or set the classes, i want to disable for one view controller

@hackiftekhar
Copy link
Owner

you can add your controller class to this NSMutableSet.

@al-esok
Copy link

al-esok commented Oct 31, 2016

Hello,

Can you please tell me if there is a way to disable the keyboard manager on a specific subclass of UIViewController?

The thing is that I have 3 layers of subclasses of UIViewController and I think that the reason why I am still seeing the IQKeyboard on that uiviewcontroller subclass is because of the check isKindOf UIViewController.

Can you please suggest me how should I proceed in this case?
Thanks,
Avinash

@hackiftekhar
Copy link
Owner

Please read this issue carefully or read tge manual management guide, the answer is already posted here.

@al-esok
Copy link

al-esok commented Nov 1, 2016

Hello,

Yes you are right. I did not use the correct version of the pod.

Thanks for the great work :)

Kind Regards,
Avinash

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