Rotates this view’s rendered output in three dimensions around the given axis of rotation.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- Xcode 11.0+
Framework
- Swift
UI
Rotates this view’s rendered output in three dimensions around the given axis of rotation.
SDKs
Framework
func rotation Effect(Angle, anchor: Unit Point) -> View
Rotates this view’s rendered output around the specified point.
func projection Effect(Projection Transform) -> View
Applies a projection transformation to this view’s rendered output.
func transform Effect(CGAffine Transform) -> View
Applies an affine transformation to this view’s rendered output.