Asks the delegate if it wants to do the work of displaying a view controller in the primary position of the split view interface.
- iOS 8.0+
- tvOS 9.0+
The split view controller whose primary view controller is being updated.
The view controller being displayed in the primary position.
The object that made the request.
true if you handled the presentation of the view controller or
false if you want the split view controller to do it.
show(_: method is called, the split view controller calls this method to see if your delegate wants to handle the presentation of the specified view controller. If you implement this method and your implementation returns
true, you are responsible for presenting the specified view controller in the primary position of the split view interface. The split view controller does not do anything more to try and show the view controller.
If you do not implement this method or if your implementation returns
false, the split view controller presents the view controller in an appropriate way.