sendKeys to UIASecureTextField

Not able use sendKeys method for iPhone password field.
it throws error, i know this is a existing issue but is there any fix the latest version of appium?

Im using
APpium 1.3.8
java client 2.1.1

Help is much appreciated!

write code here.

You should sendKeys to secureTextField instead of UITextField

Example that working with us (just update according where your “UIASecureTextField” is):

elements = uiaTableView.get(0).findElements(MobileBy.className("UIASecureTextField"));
tapElement(elements.get(0)); // maybe this is code you looking for! need tap on it first.
elements.get(0).sendKeys(value);
((IOSDriver) driver).hideKeyboard(HideKeyboardStrategy.PRESS_KEY, "Return");