UIViewController.PrepareForSegue(UIStoryboardSegue, 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.
Informs the application that a UIStoryboardSegue is about to be executed.
[Foundation.Export("prepareForSegue:sender:")]
public virtual void PrepareForSegue (UIKit.UIStoryboardSegue segue, Foundation.NSObject sender);
abstract member PrepareForSegue : UIKit.UIStoryboardSegue * Foundation.NSObject -> unit
override this.PrepareForSegue : UIKit.UIStoryboardSegue * Foundation.NSObject -> unit
Parameters
- segue
- UIStoryboardSegue
The UIStoryboardSegue that is about to be executed.
- Attributes
Remarks
Application developers can override this method to send data to the UIViewController that is the DestinationViewController. Application developers may use the SourceViewController or the sender
to further determine the context in which the segue is occurring.