iOS Guides | Samples

MonoTouch.UIKit.UISplitViewController Class

A container UIViewController that presents two side-by-side UIViewControllers.

See Also: UISplitViewController

Syntax

[MonoTouch.Foundation.Register("UISplitViewController", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 3, 2, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UISplitViewController : UIViewController

Remarks

Before iOS 8, attempting to instantiate a UISplitViewController on a non-iPad (UIDevice.CurrentDevice.UserInterfaceIdiom != UIUserInterfaceIdiom.Pad) raises an exception.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UISplitViewController are listed below.

See Also: UIViewController

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
static
AutomaticDimensionSingle. Represents the value associated with the constant UISplitViewControllerAutomaticDimension
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
CollapsedBoolean. Gets whether to display only one child view controller.
CollapseSecondViewControllerUISplitViewControllerCanCollapsePredicate. Delegate invoked by the object to get a value.
DelegateUISplitViewControllerDelegate. An instance of the MonoTouch.UIKit.UISplitViewControllerDelegate model class which acts as the class delegate.
[read-only]
DisplayModeUISplitViewControllerDisplayMode. Gets the arrangement of the contents of this UISplitViewController.
[read-only]
DisplayModeButtonItemUIBarButtonItem. Gets the UIBarButtonItem for this UISplitViewController.
EventShowDetailViewControllerUISplitViewControllerDisplayEvent. Delegate invoked by the object to get a value.
EventShowViewControllerUISplitViewControllerDisplayEvent. Delegate invoked by the object to get a value.
GetPreferredInterfaceOrientationForPresentationFunc<UISplitViewController, UIInterfaceOrientation>. Delegate invoked by the object to get a value.
GetPrimaryViewControllerForCollapsingSplitViewControllerUISplitViewControllerGetViewController. Delegate invoked by the object to get a value.
GetPrimaryViewControllerForExpandingSplitViewControllerUISplitViewControllerGetViewController. Delegate invoked by the object to get a value.
GetTargetDisplayModeForActionUISplitViewControllerFetchTargetForActionHandler. Delegate invoked by the object to get a value.
MaximumPrimaryColumnWidthSingle. Gets or sets the maximum width, in points, of the content of the primary view controller.
MinimumPrimaryColumnWidthSingle. Gets or sets the minimum width, in points, of the content of the primary view controller.
PreferredDisplayModeUISplitViewControllerDisplayMode. Gets or sets the preferred arrangement for this UISplitViewController.
PreferredPrimaryColumnWidthFractionSingle. Gets or sets the relative width of the content of the primary view controller.
PresentsWithGestureBoolean. Whether this UISplitViewController can be presented and dismissed with a swipe gesture.
[read-only]
PrimaryColumnWidthSingle. Gets the width of the content of the primary view controller.
SeparateSecondaryViewControllerUISplitViewControllerGetSecondaryViewController. Delegate invoked by the object to get a value.
ShouldHideViewControllerUISplitViewControllerHidePredicate. Delegate invoked by the object to get a value.
SupportedInterfaceOrientationsFunc<UISplitViewController, UIInterfaceOrientationMask>. Delegate invoked by the object to get a value.
ViewControllersUIViewController[]. The array of UIViewControllers managed by this UISplitViewController.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

ShowDetailViewController(UIViewController, NSObject)
Presents the specified UISplitViewController as the the secondary controller of this UISplitViewController.
ShowViewController(UIViewController, NSObject)
Presents the specified UISplitViewController as the the primary controller of this UISplitViewController.

Protected Methods

override
Dispose(Boolean)
Releases the resources used by the UISplitViewController object.

Public Events

WillChangeDisplayModeEvent raised by the object.
WillHideViewControllerEvent raised by the object.
WillPresentViewControllerEvent raised by the object.
WillShowViewControllerEvent raised by the object.