Class

AUViewController

The superclass used when creating a custom user interface for an audio unit.

Declaration

iOS, Mac Catalyst
class AUViewController : UIViewController
macOS
class AUViewController : NSViewController

Overview

The AUViewController class does not add any new methods or properties to its superclass but it does conform to the NSExtensionRequestHandling protocol.

A audio unit host app can obtain an AUViewController object for an audio unit by calling the requestViewController(completionHandler:) method on the corresponding AUAudioUnit object.

Subclassing Notes

If an audio unit provides a custom view controller, the UI Audio Unit extension must implement a subclass of AUViewController and implement the AUAudioUnitFactory protocol inside the subclass.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software