Instance Property


A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes.


@property BOOL autoresizesSubviews;


When the value of this property is YES and the view’s frame changes, the view automatically calls the resizeSubviewsWithOldSize: method to facilitate the resizing of its subviews. When the value of this property is NO, the view does not autoresize its subviews.

The default value of this property is YES.

See Also

Resizing Subviews


The options that determine how the view is resized relative to its superview.

- resizeSubviewsWithOldSize:

Informs the view’s subviews that the view’s bounds rectangle size has changed.

- resizeWithOldSuperviewSize:

Informs the view that the bounds size of its superview has changed.