Bewerken

Delen via


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)]
public virtual UIKit.UIPopoverPresentationController PopoverPresentationController { [Foundation.Export("popoverPresentationController")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] 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