UINavigationControllerDelegate.SupportedInterfaceOrientations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
可以覆寫以動態方式指定 支援的方向 navigationController
。
[Foundation.Export("navigationControllerSupportedInterfaceOrientations:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIInterfaceOrientationMask SupportedInterfaceOrientations (UIKit.UINavigationController navigationController);
abstract member SupportedInterfaceOrientations : UIKit.UINavigationController -> UIKit.UIInterfaceOrientationMask
override this.SupportedInterfaceOrientations : UIKit.UINavigationController -> UIKit.UIInterfaceOrientationMask
參數
- navigationController
- UINavigationController
傳回
- 屬性