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.
The rectangle that describes the region within your view.
var frame: CGRect { get }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.