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


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


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.