---
title: shared
framework: xcuiautomation
role: symbol
role_heading: Type Property
path: xcuiautomation/xcuidevice/shared
---

# shared

The current device.

## Declaration

```swift
class var shared: XCUIDevice { get }
```

## See Also

### Accessing the current device

- [supportsPointerInteraction](xcuiautomation/xcuidevice/supportspointerinteraction.md)
- [supportsHandGestures](xcuiautomation/xcuidevice/supportshandgestures.md)
