---
title: isConnected
framework: externalaccessory
role: symbol
role_heading: Instance Property
path: externalaccessory/eaaccessory/isconnected
---

# isConnected

A Boolean value indicating whether the accessory is currently connected to the iOS-based device.

## Declaration

```swift
var isConnected: Bool { get }
```

## See Also

### Getting Connection Information

- [connectionID](externalaccessory/eaaccessory/connectionid.md)
- [Null Connection ID](externalaccessory/null-connection-id.md)
