hideKeyboard is not working in iOS

Hi All,

Facing issue with hideKeyboard in iOS
Unable to locate the ‘Done’ button on AppiumInspector. However I have used the same functionality in other scenario and it was working
there perfectly. Clicking and swiping also not hiding the keyboard. I tried using below code but no luck,
driver.hideKeyboard(HideKeyboardStrategy.PRESS_KEY, “Hide keyboard”);
Can we have a one method ‘hideKeyboard()’ like we do have in android…?

log for driver.getKeyboard().pressKey("\n");----
[HTTP] --> POST /wd/hub/session/c83be7b0-8b13-48ed-935b-d59de7d964e8/keys
[HTTP] {“value”:["\n"]}
[MJSONWP] Calling AppiumDriver.keys() with args: [["\n"],“c83be7b0-8b13-48ed-935b-d59de7d964e8”]
[XCUITest] Executing command ‘keys’
[JSONWP Proxy] Proxying [POST /wda/keys] to [POST http://localhost:8100/session/09F17373-CEB6-461F-A46A-5A93B9B4B225/wda/keys] with body: {“value”:["\n"]}
[JSONWP Proxy] Got response with status 200: {“value”:{},“sessionId”:“09F17373-CEB6-461F-A46A-5A93B9B4B225”,“status”:0}
[MJSONWP] Responding to client with driver.keys() result: null