Removes a specified view from the stack view.
- macOS 10.9+
The view you want to remove from the stack view.
This method removes a view from a stack view whether the view is attached or detached. For an attached view only, you can alternatively call the
remove method on the view.