IOS keyboard issue

I have a basic IOS app, with a text input field locked to the bottom of the screen, when I run it on a device (not simulator) I can enter the text ok. If I then click the text field again to enter data, the keyboard comes up over the top of the data input field so I can not see to type, I have not found a work around for this. I have tried to lock to parent bottom-32 and bottom layout guide-32. Tried locking to top and bottom with no solution.

Is there any way to have a data entry field locked to the bottom of the screen?

NOTE: it’s only the second time you enter text that the keyboard overlays the text input field.