The MPVolumeView class is volume view to presents the user with a slider control for setting the system audio output volume, and a button for choosing the audio output route.
MPVolumeView only shows up when building and running on an actual iOS device and will not work in a simulator.