Bewerken

Delen via


UIViewController.ExtensionContext Property

Definition

Gets the NSExtensionContext for this view controller.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSExtensionContext ExtensionContext { [Foundation.Export("extensionContext")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.ExtensionContext : Foundation.NSExtensionContext

Property Value

If there is no extension context for the current view controller, the system walks up the hierarchy in search of a parent view controller that has a non- null ExtensionContext value.

Attributes

Applies to