共用方式為


IVSAccountManagerDelegate.PresentViewController 方法

定義

多載

PresentViewController(VSAccountManager, NSViewController)
PresentViewController(VSAccountManager, UIViewController)

開發人員會覆寫此選項,以指定 UIViewController需要使用者互動時要顯示的 。

PresentViewController(VSAccountManager, NSViewController)

[Foundation.Export("accountManager:presentViewController:")]
[Foundation.Preserve(Conditional=true)]
public void PresentViewController (VideoSubscriberAccount.VSAccountManager accountManager, AppKit.NSViewController viewController);
abstract member PresentViewController : VideoSubscriberAccount.VSAccountManager * AppKit.NSViewController -> unit

參數

accountManager
VSAccountManager
viewController
NSViewController
屬性

適用於

PresentViewController(VSAccountManager, UIViewController)

開發人員會覆寫此選項,以指定 UIViewController需要使用者互動時要顯示的 。

[Foundation.Export("accountManager:presentViewController:")]
[Foundation.Preserve(Conditional=true)]
public void PresentViewController (VideoSubscriberAccount.VSAccountManager accountManager, UIKit.UIViewController viewController);
abstract member PresentViewController : VideoSubscriberAccount.VSAccountManager * UIKit.UIViewController -> unit

參數

accountManager
VSAccountManager
viewController
UIViewController
屬性

備註

開發人員必須先呼叫 PresentViewController(UIViewController, Boolean, Action)PresentViewControllerAsync(UIViewController, Boolean) ,才能從這個方法傳回 。

適用於