Not showing next/previous button using IQKeyboardManagerSwift

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-08 05:10:10

问题


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]

Please help me.


回答1:


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.



来源:https://stackoverflow.com/questions/55430621/not-showing-next-previous-button-using-iqkeyboardmanagerswift

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!