UIViewController.ExtensionContext UIViewController.ExtensionContext Property

Definition

Gets the NSExtensionContext for this view controller.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[get: Foundation.Export("extensionContext")]
[get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSExtensionContext ExtensionContext { 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.

Applies to