AUAudioUnit.RequestViewController 方法

定义

重载

RequestViewController(Action<NSViewController>)
RequestViewController(Action<UIViewController>)

请求音频单元的视图控制器,并在完成后运行 completionHandler

RequestViewController(Action<NSViewController>)

[Foundation.Export("requestViewControllerWithCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestViewController (Action<AppKit.NSViewController> completionHandler);
abstract member RequestViewController : Action<AppKit.NSViewController> -> unit
override this.RequestViewController : Action<AppKit.NSViewController> -> unit

参数

completionHandler
Action<NSViewController>
属性

适用于

RequestViewController(Action<UIViewController>)

请求音频单元的视图控制器,并在完成后运行 completionHandler

[Foundation.Export("requestViewControllerWithCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestViewController (Action<UIKit.UIViewController> completionHandler);
abstract member RequestViewController : Action<UIKit.UIViewController> -> unit
override this.RequestViewController : Action<UIKit.UIViewController> -> unit

参数

completionHandler
Action<UIViewController>
属性

适用于