Instance Method


Adds a view to the end of the arrangedSubviews array.


- (void)addArrangedSubview:(UIView *)view;



The view to be added to the array of views arranged by the stack.


The stack view ensures that the arrangedSubviews array is always a subset of its subviews array. This method automatically adds the provided view as a subview of the stack view, if it is not already. If the view is already a subview, this operation does not alter the subview ordering.

See Also

Managing Arranged Subviews


The list of views arranged by the stack view.

- insertArrangedSubview:atIndex:

Adds the provided view to the array of arranged subviews at the specified index.

- removeArrangedSubview:

Removes the provided view from the stack’s array of arranged subviews.