<!--
{
  "availability" : [
    "iOS: 27.1.0 -",
    "iPadOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVCaptureDeviceDirectionCoordinator/deviceDirections",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDeviceDirectionCoordinator(py)deviceDirections"
  },
  "title" : "deviceDirections"
}
-->

# deviceDirections

The current direction of each camera the coordinator monitors, in relation to its view.

```
var deviceDirections: AVCaptureDeviceDirectionMap { get }
```

## Discussion

The map groups the device types you passed at initialization by the direction they face. One array holds the devices that face the same direction as the view, and the other holds the devices that face away from it. Reading this property gives you the state at that moment. The change handler reports later changes.

> Note: This property is an empty ``doc://com.apple.avkit/documentation/AVKit/AVCaptureDeviceDirectionMap`` until the coordinator calls its change handler for the first time. Treat that first callback, rather than initialization, as the point at which you know the directions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)