×

Modifier: Rotation

iOS 14 +

Notes

Rotate a view. You can find more info at https://widgetpack.app/documentation

Syntax

modifierRotation(view: <#Object (View)#>, angle: <#Double#>)

Example

modifierRotation(view: View(identifier: "View1", displayString: "View One"), angle: 213.3)