Editar

Compartilhar via


UISplitViewControllerDelegate_Extensions Class

Definition

Extension methods to the IUISplitViewControllerDelegate interface to support all the methods from the UISplitViewControllerDelegate protocol.

public static class UISplitViewControllerDelegate_Extensions
type UISplitViewControllerDelegate_Extensions = class
Inheritance
UISplitViewControllerDelegate_Extensions

Remarks

The extension methods for IUISplitViewControllerDelegate allow developers to treat instances of the interface as having all the optional methods of the original UISplitViewControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

CollapseSecondViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, UIViewController)

Collapses the secondary view controller on splitViewController.

EventShowDetailViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, NSObject)

Returns true if the delegate will display the detail view itself, rather than relying on splitViewController.

EventShowViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, NSObject)

Shows vc in the primary position.

GetPreferredInterfaceOrientationForPresentation(IUISplitViewControllerDelegate, UISplitViewController)

Returns the preferred user interface orientation to use when presenting splitViewController.

GetPrimaryViewControllerForCollapsingSplitViewController(IUISplitViewControllerDelegate, UISplitViewController)

Returns the primary view controller for the collapsing view controller splitViewController.

GetPrimaryViewControllerForExpandingSplitViewController(IUISplitViewControllerDelegate, UISplitViewController)

Returns the primary view controller for the expanding view controller splitViewController.

GetTargetDisplayModeForAction(IUISplitViewControllerDelegate, UISplitViewController)

Returns the display mode for the svc action.

SeparateSecondaryViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController)

Returns a new secondary view controller to use in split-view mode, or nil to use the default.

ShouldHideViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, UIInterfaceOrientation)

Developers should not use this deprecated method. Developers should use 'UISearchController' instead.

SupportedInterfaceOrientations(IUISplitViewControllerDelegate, UISplitViewController)

Returns the supported interface orientations for splitViewController.

WillChangeDisplayMode(IUISplitViewControllerDelegate, UISplitViewController, UISplitViewControllerDisplayMode)

The split view controller svc will change its display mode to displayMode.

WillHideViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, UIBarButtonItem, UIPopoverController)

Indicates that the UISplitViewController is about to be hidden.

WillPresentViewController(IUISplitViewControllerDelegate, UISplitViewController, UIPopoverController, UIViewController)

Indicates that the UISplitViewController is about to be presented.

WillShowViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, UIBarButtonItem)

Indicates that the UISplitViewController is about to be shown.

Applies to