編輯

共用方式為


UIViewController.Storyboard Property

Definition

The UIStoryboard from which this UIViewController was created, or null.

public virtual UIKit.UIStoryboard Storyboard { [Foundation.Export("storyboard", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.Storyboard : UIKit.UIStoryboard

Property Value

The default value is null.

Attributes

Remarks

If this UIViewController was instantiated by a UIStoryboard, this method will return that UIStoryboard.

Applies to