# Click on home button through iOS gateway and vnc access

**URL:** <https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821>\
**Category:** Other TestPlant Products\
**Tags:** home-button-vnc-ios-\
**Created:** [October 31, 2018, 5:35pm UTC](https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821 "2018-10-31T17:35:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leandrotavares](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/l/71e660/32.png) [@leandrotavares](https://forums.eggplantsoftware.com/u/leandrotavares)\
**Post date:** [October 31, 2018, 5:35pm UTC](https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821/1 "2018-10-31T17:35:39Z")

</div>

Is it possible to send the home button command for an iOS device accessing it via VNC provided by iOS Gateway?

---

<div class="post-metadata">

**Author:** ![EggplantMatt](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/eggplantmatt/32/3_2.png) [@EggplantMatt](https://forums.eggplantsoftware.com/u/EggplantMatt)\
**Post date:** [December 14, 2018, 12:15am UTC](https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821/2 "2018-12-14T00:15:51Z")

</div>

Yes.

  

```
PressHomeButton
```

See the [documentation](http://docs.testplant.com/ePF/SenseTalk/stk-mobile-control-touch-events.htm) on mobile testing commands.

---

<div class="post-metadata">

**Author:** ![EggplantMatt](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/eggplantmatt/32/3_2.png) [@EggplantMatt](https://forums.eggplantsoftware.com/u/EggplantMatt)\
**Post date:** [July 5, 2019, 8:13pm UTC](https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821/3 "2019-07-05T20:13:47Z")

</div>

Sorry, why was the answer rejected? It’s the answer. It’s the engineered mechanism for doing what was asked about.

---

<div class="post-metadata">

**Author:** ![leandrotavares](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/l/71e660/32.png) [@leandrotavares](https://forums.eggplantsoftware.com/u/leandrotavares)\
**Post date:** [July 5, 2019, 9:01pm UTC](https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821/4 "2019-07-05T21:01:30Z")

</div>

I would like to click the home button using VNC client. The iOS gateway runs a VNC server on the device allowing to “remote control” it via a VNC client, like RealVNC. The question is: How can I send this `PressHomeButton` command using the VNC client?

---

<div class="post-metadata">

**Author:** ![EggplantMatt](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/eggplantmatt/32/3_2.png) [@EggplantMatt](https://forums.eggplantsoftware.com/u/EggplantMatt)\
**Post date:** [July 8, 2019, 4:22pm UTC](https://forums.eggplantsoftware.com/t/click-on-home-button-through-ios-gateway-and-vnc-access/3821/5 "2019-07-08T16:22:45Z")

</div>

You can't do it using a generic VNC viewer. That functionality is built into Eggplant Functional -- it requires special hooks on both sides of the connection. You can do it with [Eggplant Manual](https://eggplant.io/eggplant-manual-downloads), which is freely available.
