Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not showing next/previous button using IQKeyboardManagerSwift

I am using IQKeyboardManagerSwift in my application. I can not see next/previous button to toolbar. I attached screen shots of my aliments.

IQKeyboardManager.shared.enable = true
IQKeyboardManager.shared.enableAutoToolbar = true
IQKeyboardManager.shared.toolbarPreviousNextAllowedClasses = [UIView.self, UIStackView.self]

enter image description here

Please help me.

like image 532
Kamlesh Shingarakhiya Avatar asked Oct 25 '25 16:10

Kamlesh Shingarakhiya


1 Answers

IQKeyboardManager's Next/Previous button doesn't work on input fields if they are inside multiple subviews.

Assign self.view of IQPreviousNextView class from storyboard. It will start working.

enter image description here

like image 60
Amir Khan Avatar answered Oct 28 '25 08:10

Amir Khan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!