AUAudioUnit.RequestViewController 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RequestViewController(Action<NSViewController>) | |
RequestViewController(Action<UIViewController>) |
请求音频单元的视图控制器,并在完成后运行 |
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>
- 属性