Moving the cursor position on iOS devices

I’m trying to achieve the left/right arrow key functionality. On a iOS device (iPad Pro 12.9 - iOS 12.2) with keyboard up, I would like to move the cursor left/right by one character on a text field using WebDriverAgent/XCUITest. I couldn’t find any API in Appium. Any help is appreciated.

I think the only possible way to do this would be to tap the corresponding buttons on the on-screen keyboard