Tells the delegate that the display mode for the split view controller is about to change.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The split view controller whose display mode is changing.
The new display mode that is about to be applied to the split view controller.
The split view controller calls this method when its display mode is about to change. Because changing the display mode usually means hiding or showing one of the child view controllers, you can implement this method and use it to add or remove the controls for showing the primary view controller.