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

How to disable and enable keyboardControl like IQKeyboardManager ? #96

Open
tariq235 opened this issue Aug 3, 2015 · 1 comment
Open

Comments

@tariq235
Copy link

tariq235 commented Aug 3, 2015

I am facing an issue while using DAKeyBoardControler with Intercom ios sdk. https://github.com/intercom/intercom-ios/issues/80

Their iOS team told me, "We have NSNotifications for when Intercom opens and closes. Anything in the app that customises text field or keyboard behaviour can cause problem like this."

How should I disable the DAKeyboardControl when interacting to Intercom sdk ?

@jtreanor
Copy link

jtreanor commented Aug 4, 2015

This could be solved in a few ways:

  1. Allow whitelisting of UIViews to be affected by the swizzle. For complex apps it is not unusual to want DAKeyboardControl's features in one place but not another.
  2. Add a method to disable DAKeyboardControl temporarily. This would allow certain sections of the app to be untouched by the swizzle.

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

No branches or pull requests

2 participants