DAKeyboardControl icon indicating copy to clipboard operation
DAKeyboardControl copied to clipboard

How to disable and enable keyboardControl like IQKeyboardManager ?

Open tariq235 opened this issue 9 years ago • 1 comments

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 ?

tariq235 avatar Aug 03 '15 14:08 tariq235

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.

jtreanor avatar Aug 04 '15 09:08 jtreanor