Instance Method

requestViewControllerWithCompletionHandler:

Requests an audio unit's custom view controller.

Declaration

- (void)requestViewControllerWithCompletionHandler:(void (^)(AUViewControllerBase *viewController))completionHandler;

Discussion

The completion handler is called on a thread or dispatch queue internal to the audio unit's implementation. If the audio unit does not implement a custom view controller, it returns nil. If it has a custom view controller, it instantiates the view controller and returns it. The custom view controller must be a subclass of AUViewController.

See Also

Required Methods

- createAudioUnitWithComponentDescription:error:

Creates an instance of an extension’s audio unit.

Required.

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