Chatto icon indicating copy to clipboard operation
Chatto copied to clipboard

Chatto Keyboard didn't display correctly

Open ahmadabudawod opened this issue 7 years ago • 7 comments

screen shot 2017-08-03 at 3 03 08 pm I have used the Chatto Messenger with IQKeyboardManager , but unfortunately the keyboard did open when i was try to send a message .

Is there any conflict with this library

ahmadabudawod avatar Aug 03 '17 11:08 ahmadabudawod

@ahmadabudawod Tha's what I found on https://github.com/hackiftekhar/IQKeyboardManager#warning

If IQKeybaordManager conflicts with other third-party library, then it's developer responsibility to enable/disable IQKeyboardManager when presenting/dismissing third-party library UI. Third-party libraries are not responsible to handle IQKeyboardManager.

So, I can only suggest you to disable IQKeyboardManager for view controller that displays chat

AntonPalich avatar Aug 03 '17 12:08 AntonPalich

I was remove IQKeybaordManager , but still the same problem . May the problem not from IQKeybaordManager. Still the same problem simulator screen shot aug 3 2017 4 21 12 pm

ahmadabudawod avatar Aug 03 '17 13:08 ahmadabudawod

After i made investigation about my code , i was discovered that i was comment the loadView from this class BaseChatViewController , to load view from storyboard .

Please how i can load my view from storyboard not from code like the example in Chatto?

ahmadabudawod avatar Aug 03 '17 19:08 ahmadabudawod

@ahmadabudawod Can you point Chatto to latest commit in master branch instead of specific version in Podfile? Feature, that you're looking for was added in this PR: https://github.com/badoo/Chatto/pull/323

You need to set substitutesMainViewAutomatically = false in a view controller and make sure that your custom view conforms to BaseChatViewControllerViewProtocol

AntonPalich avatar Aug 04 '17 06:08 AntonPalich

Thanks Anton , but unfortunately still the same error screen shot 2017-08-05 at 1 57 37 am

ahmadabudawod avatar Aug 04 '17 22:08 ahmadabudawod

@ahmadabudawod Any progress with this error?

MasterWatcher avatar Apr 27 '20 07:04 MasterWatcher

Not sure if the same case for you but for me it was because I was not calling the super function in my override of viewWillAppear

YamiDaisuke avatar Aug 16 '20 23:08 YamiDaisuke