ViewControllerShowDetailTargetMonitor
public class ViewControllerShowDetailTargetMonitor : BaseNotificationMonitor
A ViewControllerShowDetailTargetMonitor
instance monitors the app for
changes to a split view controller’s display mode in the view hierarchy.
-
Encapsulates changes to a split view controller’s display mode in the view hierarchy.
See moreDeclaration
Swift
public enum Event
-
Initializes a new
ViewControllerShowDetailTargetMonitor
.Declaration
Swift
public init(queue: OperationQueue = .main, handler: @escaping (Event) -> Void)
Parameters
queue
The operation queue on which the handler executes. By default, the main operation queue is used.
handler
The handler to call when a split view controller is expanded or collapsed.
-
Declaration
Swift
override public func addNotificationObservers()