Hello,
I have a view have three textfields and a button. I wrote following code to move between textfields using return key.
func textFieldShouldReturn(_ textField: UITextField) -> Bool
{
if textField == self.A {
self.B.becomeFirstResponder()
}else if textField == self.B {
self.C.becomeFirstResponder()
}
return true
}
when I use return key between A->B, above code works properly. but when i use return key between B->C, above code doesn't work. I couldn't figure out what's wrong with this.
if anyone pick me my mistake and suggest solution for it, I'd very appreciate.
Thanks,
c00012