iosswiftuistackviewxcode10iqkeyboardmanager

IQKeyboard not showing next/previous options inside stackview


I am not able to see the next/previous button in toolbar using IQKeyboardManagerSwift when its inside stack view I have checked this link and added IQPreviousNextView as my view class. But still facing the same issue. Below is my storyboard layout.

enter image description here

Any help is appreciated


Solution

  • As per the instructions from IQKeyboardManagerSwift GitHub repo: https://github.com/hackiftekhar/IQKeyboardManager/wiki/Manual-Management

    Embed the New Pin Stack in a UIView, then assign the custom class of that view to IQPreviousNextView

    Prior to embedding (Prev / Next arrows not shown):

    enter image description here

    After embedding (Prev / Next arrows will be shown):

    enter image description here

    enter image description here

    Note: constrain New Pin Stack at 0 to all four sides of the new view it is embedded in.