<!--
{
  "availability" : [
    "iOS: 13.0.0 - 27.0.0",
    "iPadOS: 13.0.0 - 27.0.0",
    "macCatalyst: 13.0.0 - 27.0.0",
    "macOS: 10.15.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/RotationGesture",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15RotationGestureV"
  },
  "title" : "RotationGesture"
}
-->

# RotationGesture

A gesture that recognizes a rotation motion and tracks the angle of the rotation.

```
nonisolated struct RotationGesture
```

## Topics

### Creating the gesture

[`init(minimumAngleDelta:)`](/documentation/SwiftUI/RotationGesture/init(minimumAngleDelta:))

Creates a rotation gesture with a minimum delta for the gesture to start.

[`minimumAngleDelta`](/documentation/SwiftUI/RotationGesture/minimumAngleDelta)

The minimum delta required before the gesture succeeds.



---

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)