---
title: Interacting with your app in Device Hub
framework: xcode
role: article
role_heading: Article
path: xcode/interacting-with-your-app-in-device-hub
---

# Interacting with your app in Device Hub

Use Device Hub to control interactions with your apps on simulated and physical devices.

## Overview

Overview You use similar controls on your Mac to interact with your app on a simulated and physical device that appears in the Device Hub canvas. When you launch your app on a simulated device, Device Hub opens to show the device screen in a compact window. When you launch your app on a physical device, Xcode runs it on the device. To interact with the device in Device Hub, select the device in the sidebar and click View Screen in the canvas area. Device Hub surrounds the screen content with a bezel that resembles the target device. In visionOS, it displays a synthetic space to mimic the experience someone would have when they wear the device. Each device bezel and space has specific controls to support interactions. Interact with your iOS or iPadOS app in the canvas Use your Mac’s pointer, trackpad or Magic Mouse, keyboard, menu items, and buttons to make gestures on a simulated iOS or iPadOS device.  |   |   |   |   |   |   |   |   |  Activate device buttons by clicking on parts of the device bezel:  |   |   |   |   |   |  Interact with your watchOS app in the canvas Use the pointer, trackpad or Magic Mouse, keyboard, and menu items to make gestures on a simulated watchOS device.  |   |   |   |   |  Activate device buttons using menu items or by clicking on parts of the device bezel:  |   |   |   |   |  Interact with your tvOS app in the canvas Use the pointer, keyboard, and menu items to make gestures on a simulated tvOS device.  |   |   |   |   |   |   |

## See Also

### Device interactions

- [Configuring the environment of a simulated device](xcode/configuring-the-environment-of-a-simulated-device.md)
- [Capturing screenshots and videos from devices](xcode/capturing-screenshots-and-videos-from-devices.md)
