You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 5 text fields in my ViewController, each is inside a UIView along with a label.
How can I manage to have the functionality working? now it deals with each view (the container of UILabel and UITextField) as a separate thing, I want it to deal with all textViews in a UIViewController as if they were subviews of the outer UIView
I was able to solve this by building the constraints from the bottom of the ViewController, I had an upper constraint between the first View(container) and the outer View, this constraint was making the trouble
BUT I still have the problem of defining what is the next TextField, each being in a separated View makes me unable to move from one to another.
Previous next button only works with textField siblings, by default it will not work if your text Fields are in different views. But there is a workaround and you can take a look at IQPreviousNextView in demo project. Hope this help.
@hackiftekhar I am sorry to say this, I could not understand how this is supposed to be done,
What I have done?
search for IQPreviousNextView in the demo app,
What I figured out was { I have IQPreviousNextView that will be switched on and off, but not sure how to use it to solve my problem}
Your help is really appreciated
Thank you
Activity
ish3lan commentedon Jun 24, 2016
I was able to solve this by building the constraints from the bottom of the ViewController, I had an upper constraint between the first View(container) and the outer View, this constraint was making the trouble
BUT I still have the problem of defining what is the next TextField, each being in a separated View makes me unable to move from one to another.
hackiftekhar commentedon Jun 25, 2016
Previous next button only works with textField siblings, by default it will not work if your text Fields are in different views. But there is a workaround and you can take a look at IQPreviousNextView in demo project. Hope this help.
ish3lan commentedon Jun 25, 2016
@hackiftekhar I am sorry to say this, I could not understand how this is supposed to be done,
What I have done?
Your help is really appreciated
Thank you
hackiftekhar commentedon Jul 24, 2016
@ish3lan I'm updating doc here https://github.com/hackiftekhar/IQKeyboardManager/blob/master/MANUAL%20MANAGEMENT.md please take a look
ish3lan commentedon Jul 24, 2016
@hackiftekhar Thank you for the neat solution, it works absolutely fine now ππ»