Trying to disable IQKeyboardManager
for a particular ViewController or for the whole app, it's not working.
My AppDelegate code:
[[IQKeyboardManager sharedManager] setEnableAutoToolbar:NO];
[[IQKeyboardManager sharedManager] setEnable:NO];
[[IQKeyboardManager sharedManager] disableToolbarInViewControllerClass:[TCChatViewController class]];
[[IQKeyboardManager sharedManager] disableInViewControllerClass:[TCChatViewController class]];
Also trying to disable in viewWillAppear:
:
[[IQKeyboardManager sharedManager] setEnableAutoToolbar:NO];
[[IQKeyboardManager sharedManager] setEnable:NO];
The issue was in 'Class implemented in both', because library was included to main app and framework. So I guess I was setting library preferences to one copy, but library was reading preferences from another copy and mine was ignored.