# iOS equivalent to android keyevent

**URL:** <https://discuss.appium.io/t/ios-equivalent-to-android-keyevent/29107>\
**Category:** Support\
**Created:** [December 24, 2019, 1:21pm UTC](https://discuss.appium.io/t/ios-equivalent-to-android-keyevent/29107 "2019-12-24T13:21:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biswajit\_Pattanayak](https://discuss.appium.io/user_avatar/discuss.appium.io/biswajit_pattanayak/32/6398_2.png) [@Biswajit\_Pattanayak](https://discuss.appium.io/u/Biswajit_Pattanayak)\
**Post date:** [December 24, 2019, 1:21pm UTC](https://discuss.appium.io/t/ios-equivalent-to-android-keyevent/29107/1 "2019-12-24T13:21:11Z")

</div>

I have a situation where the screen can’t be inspected due to security issue. The screen has numeric digits and a done mark to select the pin and confirm done. I was able to do it on android by using KeyEvent. So I basically pressed the 6 digit pin and then tabbed through the displayed app keyboard till the end and then pressed enter which selected the done key

My question is how I can simulate it in iOS? I could not find any equivalent. I understand it has only sendkeys which would require the keyboard. But in my case, the keyboard is not shown. Any help would be appreciated.
