4

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.

Kamlesh Shingarakhiya
  • 2,757
  • 2
  • 16
  • 34

1 Answers1

15

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

Amir Khan
  • 1,318
  • 1
  • 14
  • 39