The bounds rectangle, which describes the view’s location and size in its own coordinate system.
- iOS 2.0+
- tvOS 9.0+
The default bounds origin is (0,0) and the size is the same as the size of the rectangle in the
frame property. Changing the size portion of this rectangle grows or shrinks the view relative to its center point. Changing the size also changes the size of the rectangle in the
frame property to match. The coordinates of the bounds rectangle are always specified in points.
Changing the bounds rectangle automatically redisplays the view without calling its
draw(_:) method. If you want UIKit to call the
draw(_:) method, set the
content property to
Changes to this property can be animated.