IUIApplicationDelegate.GetViewController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the UIViewController identified by the last value in the restorationIdentifierComponents parameter.
[Foundation.Export("application:viewControllerWithRestorationIdentifierPath:coder:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIViewController? GetViewController(UIKit.UIApplication application, string[] restorationIdentifierComponents, Foundation.NSCoder coder);
[<Foundation.Export("application:viewControllerWithRestorationIdentifierPath:coder:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetViewController : UIKit.UIApplication * string[] * Foundation.NSCoder -> UIKit.UIViewController
override this.GetViewController : UIKit.UIApplication * string[] * Foundation.NSCoder -> UIKit.UIViewController
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- restorationIdentifierComponents
- String[]
An array of identifiers that identify the path to the desired view controller, which should be last.
- coder
- NSCoder
Returns
- Attributes