Contents

UIPointerShape.roundedRect(_:radius:)

The pointer morphs into a rounded rectangle using the provided corner radius.

Declaration

case roundedRect(CGRect, radius: CGFloat = UIPointerShape.defaultCornerRadius)

Discussion

If you don’t specify a radius, the rounded rectangle uses the defaultCornerRadius.

See Also

Specifying pointer shapes