UIViewController.PopoverPresentationController Property

Definition

Gets the nearest ancestor in the view hierarchy that is a UIPopoverPresentationController or null if there is none.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[get: Foundation.Export("popoverPresentationController")]
[get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIPopoverPresentationController PopoverPresentationController { get; }
member this.PopoverPresentationController : UIKit.UIPopoverPresentationController

Property Value

Returns the nearest ancestor that is a popover presentation controller within the specified view controller hierarchy.

Attributes

Applies to