Removes the provided view from the stack’s array of arranged subviews.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The view to be removed from the array of views arranged by the stack.
This method removes the provided view from the stack’s
arranged array. The view’s position and size will no longer be managed by the stack view. However, this method does not remove the provided view from the stack’s
subviews array; therefore, the view is still displayed as part of the view hierarchy.
To prevent the view from appearing on screen after calling the stack’s
remove method, explicitly remove the view from the subviews array by calling the view’s
remove method, or set the view’s
hidden property to