Take the 2-minute tour ×

I have seen that the voice memos app has a button that shows the audio route selection menu. How can I add such a button (or display the route selection from code). I tried using MPVolumeView but it only shows the button sometimes, I would like to always display the button (and to not include the volume bar)

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Managed to add it with following:

MPVolumeView *volumeView = [MPVolumeView new]
volumeView.showsVolumeSlider = NO;
volumeView.showsRouteButton = YES;
[volumeView sizeToFit];
share|improve this answer
add comment

Your Answer


