編輯

共用方式為


AUAudioUnit.RequestViewController Method

Definition

Overloads

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

Requests the view controller for the audio unit and runs completionHandler when finished.

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

Parameters

completionHandler
Action<NSViewController>
Attributes

Applies to

RequestViewController(Action<UIViewController>)

Requests the view controller for the audio unit and runs completionHandler when finished.

[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

Parameters

completionHandler
Action<UIViewController>
Attributes

Applies to