iOS Guides | Samples

MonoTouch.UIKit.UIPopoverPresentationController Class

Manages the user experience of a popover.

See Also: UIPopoverPresentationController


[MonoTouch.Foundation.Register("UIPopoverPresentationController", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIPopoverPresentationController : UIPresentationController

Related content


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

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

See Also: UIPresentationController

Public Constructors

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.
Constructs a new UIPopoverPresentationController that presents the presentedViewController from the presentingViewController.

Public Properties

ArrowDirectionUIPopoverArrowDirection. The direction of the editing arrow.
BackgroundColorUIColor. The background color of the popover.
BarButtonItemUIBarButtonItem. Gets or sets the bar button item that anchors the popover.
ClassHandleIntPtr. The handle for this class.
DelegatUIPopoverPresentationControllerDelegate. Use the UIPopoverPresentationColler.Delegate, not this misspelled property.
DelegateUIPopoverPresentationControllerDelegate. An instance of the MonoTouch.UIKit.UIPopoverPresentationControllerDelegate model class which acts as the class delegate.
GetAdaptivePresentationStyleUIAdaptivePresentationStyleWithTraitsRequested. Delegate invoked by the object to get a value.
GetViewControllerForAdaptivePresentationUIAdaptivePresentationWithStyleRequested. Delegate invoked by the object to get a value.
PassthroughViewsUIView[]. Array of UIView objects with which the user can interact even while the popover is visible.
PermittedArrowDirectionsUIPopoverArrowDirection. The preferred arrow directions in the popover.
PopoverBackgroundViewTypeType. Gets or sets the type that is used to display background content for the popover.
PopoverLayoutMarginsUIEdgeInsets. The margins in which it is acceptable to display the popover.
ShouldDismissPopoverShouldDismiss. Delegate invoked by the object to get a value.
SourceRectRectangleF. The rectangle in the provided view in which the presented view controller is anchored.
SourceViewUIView. Gets or sets the view that contains the rectangle that anchors the popover.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Protected Methods

Releases the resources used by the UIPopoverPresentationController object.

Public Events

DidDismissEvent raised after the presented view controller has been dismissed.
PrepareForPresentationEvent raised prior to presentation.
WillPresentControllerEvent raised shortly before presenting the popover.
WillRepositionEvent raised shortly before repositioning the popover.