DAKeyboardControl
DAKeyboardControl copied to clipboard
How to disable and enable keyboardControl like IQKeyboardManager ?
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 ?
This could be solved in a few ways:
- 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. - Add a method to disable
DAKeyboardControl
temporarily. This would allow certain sections of the app to be untouched by the swizzle.