<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DockKit",
  "identifier" : "/documentation/DockKit/DockAccessory/limits-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "DockKit"
    ],
    "preciseIdentifier" : "s:7DockKit0A9AccessoryC6limitsAC6LimitsVvp"
  },
  "title" : "limits"
}
-->

# limits

Current limits for the axes of rotation and maximum angular velocity.

```
final var limits: DockAccessory.Limits { get throws }
```

## Return Value

The pitch, yaw, and roll limit. Each value can be `nil` if it’s unsupported. See [`DockAccessory.Limits`](/documentation/DockKit/DockAccessory/Limits-swift.struct) for more information.

## Discussion> Throws: ``doc://com.apple.DockKit/documentation/DockKit/DockKitError/notConnected`` if the device has disconnected.

---

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)