Instance Property

bounds

The bounds rectangle describing the item’s location and size in its own coordinate system.

Required.

Declaration

var bounds: CGRect { get }

Discussion

The rectangle in this property always matches the app’s interface orientation. For apps that support all interface orientations, the value in this property can change when the user rotates the device between portrait and landscape modes.