Unable tap Search or Enter button in iOS device

Hi There,

After adding value in text field , I have to hit search button. I am using the below versions of KS and Appium.

KS : 6.3.0
Appium : 1.14.0
iOS device : 12.4

I have tried the below methods . It’s not working.

import com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory
import io.appium.java_client.AppiumDriver
import io.appium.java_client.ios.IOSDriver

IOSDriver<?> driver = MobileDriverFactory.getDriver()
driver.executeScript(“mobile:performEditorAction”, ImmutableMap.of(“action”, “Search”))

Mobile.sendKeys(findTestObject(‘Object Repository/SelectLocation Screen/XCUIElementTypeTextField - LocationsSearchEditText’), “2016”+’’\n’’)