I have a series of textfields on a layout which I wish the user to be able to 'TAB' between each.
I have set the textfield.ReturnKey= textfield.RETURN_NEXT on each of the textfields so that NEXT appears in the keyboard.
Pressing Next on the keyboard doesn't seem to set the cursor automatically in the next field so I have added a textfield_EndEdit event to each textfield to set the focus in the next text field.
This seems to work initially however it then repeatedly fires the EndEdit events of the text fields in sequence sending the focus around the fields automatically in a loop before eventually randomly stopping on one of the fields.
I'm fairly new to iOS development and wonder what is the best way to implement tabbing between textfields? Would be grateful for any help.
I have set the textfield.ReturnKey= textfield.RETURN_NEXT on each of the textfields so that NEXT appears in the keyboard.
Pressing Next on the keyboard doesn't seem to set the cursor automatically in the next field so I have added a textfield_EndEdit event to each textfield to set the focus in the next text field.
This seems to work initially however it then repeatedly fires the EndEdit events of the text fields in sequence sending the focus around the fields automatically in a loop before eventually randomly stopping on one of the fields.
I'm fairly new to iOS development and wonder what is the best way to implement tabbing between textfields? Would be grateful for any help.