Kamlesh Shingarakhiya
Kamlesh Shingarakhiya

Reputation: 2777

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.

Upvotes: 4

Views: 3339

Answers (1)

Amir Khan
Amir Khan

Reputation: 1318

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

Upvotes: 15

Related Questions