UIViewController.PerformSegue(String, NSObject) 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.
Performs the specified UIStoryboardSegue.
[Foundation.Export("performSegueWithIdentifier:sender:")]
public virtual void PerformSegue (string identifier, Foundation.NSObject sender);
abstract member PerformSegue : string * Foundation.NSObject -> unit
override this.PerformSegue : string * Foundation.NSObject -> unit
Parameters
- identifier
- String
The identifier of the desired UIStoryboardSegue.
- Attributes
Remarks
Typically, segues are specified in the storyboard and do not require the application to directly invoke them.
This method will throw an exception if the UIViewController on which it is called was not loaded from a storyboard.