Asks the delegate if it wants to do the work of displaying a view controller in the secondary position of the split view interface.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The split view controller whose secondary view controller is being updated.
The view controller being displayed in the secondary position.
The object that made the request.
YES if you handled the presentation of the view controller or
NO 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 ultimately return
YES, your implementation is responsible for presenting the specified view controller in the secondary position of the split view interface.
If you do not implement this method or if your implementation returns
NO, the split view controller presents the view controller in an appropriate way.