switchAudioOutputUsingiOSUI method
void
switchAudioOutputUsingiOSUI()
**** Only for iOS **** Method to show the native iOS UI for switching the audio output device. This method natively switches the audio output to the selected device. Refer switch audio output iOS UI
Implementation
void switchAudioOutputUsingiOSUI() {
if (Platform.isIOS) {
PlatformService.invokeMethod(PlatformMethod.switchAudioOutputUsingiOSUI);
}
}