Does this work with IQKeyboardManager
Is anyone aware if this Pod works with IQKeyboardManager as I am having issues getting the autocomplete to work.
+1
Hey guys!, can you please help me understanding better the issues?. Probably some example code and/or screenshots?.
Hi, my application makes use of the IQKeyboardManager pod. When trying to intergrate this pod also and attempt to get it working it causes errors.
It seems, there is some conflict with shouldResignOnTouchOutside feature in IQKeyboardManager.
I was able to resolve the issue with non-working itemSelectionHandler by disabling the mentioned feature in the controller where SearchTextField is used:
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
IQKeyboardManager.shared().shouldResignOnTouchOutside = false
}
override func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
IQKeyboardManager.shared().shouldResignOnTouchOutside = true
}