Contents

frame

The rectangle that describes the region within your view.

Declaration

var frame: CGRect { get }

Discussion

The frame uses your view’s own coordinates. It already includes the region’s margins, so you don’t need to add the margins yourself.

See Also

Getting the region’s geometry