iOS Guides | Samples

MonoTouch.UIKit.UIPopoverPresentationControllerDelegate Class

Delegate object for UIPopoverPresentationController objects. Provides methods relating to presentation and dismissal events and allows fine-grained control for adaptive presentations.

See Also: UIPopoverPresentationControllerDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UIPopoverPresentationControllerDelegate", false)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIPopoverPresentationControllerDelegate : UIAdaptivePresentationControllerDelegate, IUIPopoverPresentationControllerDelegate, IDisposable

Related content

Requirements

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

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

See Also: UIAdaptivePresentationControllerDelegate

Public Constructors

Default constructor, initializes a new instance of this class.
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 Methods

DidDismissPopover(UIPopoverPresentationController)
Informs this T:UIPopoverPresentationControllerDelegate object that the user has dismissed the popover.
override
GetAdaptivePresentationStyle(UIPresentationController) : UIModalPresentationStyle
Returns the new presentation style to use after a change to the forPresentationController.
override
GetAdaptivePresentationStyle(UIPresentationController, UIModalPresentationStyle) : UIViewController
override
GetAdaptivePresentationStyle(UIPresentationController, UITraitCollection) : UIModalPresentationStyle
override
GetViewControllerForAdaptivePresentation(UIPresentationController, UIModalPresentationStyle) : UIViewController
Requests the controller value to use when a size change causes a change to the style presentation style for this UIPopoverPresentationControllerDelegate object.
PrepareForPopoverPresentation(UIPopoverPresentationController)
Informs this UIPopoverPresentationControllerDelegate object that the app is about to display the popover.
ShouldDismissPopover(UIPopoverPresentationController) : Boolean
Requests whether the popoverPresentationController controller should dismissed the popover based on user actions.
override
WillPresent(UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)
Called prior to presentation.
WillRepositionPopover(UIPopoverPresentationController, ref RectangleF, ref UIView)
WillRepositionPopover(UIPopoverPresentationController, RectangleF, UIView)
Informs this UIPopoverPresentationControllerDelegate object that changes in size require the popoverPresentationController controller to reposition the popover to the targetRect in the inView view.