Removes a specified child controller from the view controller.
- macOS 10.10+
The index in the
childrenarray for the child view controller you want to remove.
Override this method if you want to perform work during the removal of a child view controller. If you do override this method, in your implementation call this method on
If you just want to remove a child view controller, instead use use the