iOS Reference Library Apple Developer
Search

Media Player Functions Reference

Framework
MediaPlayer/MediaPlayer.h
Declared in
MPVolumeSettings.h

Overview

The Media Player framework defines several functions for use in displaying and hiding volume controls.

Functions

MPVolumeSettingsAlertHide

Hides the alert panel that controls the system volume.

void MPVolumeSettingsAlertHide();
Availability
See Also
Declared In
MPVolumeSettings.h

MPVolumeSettingsAlertIsVisible

Returns a Boolean value indicating whether the volume alert panel is currently visible.

BOOL MPVolumeSettingsAlertIsVisible();
Return Value

YES if the volume alert is visible; otherwise, NO.

Availability
See Also
Declared In
MPVolumeSettings.h

MPVolumeSettingsAlertShow

Displays an alert panel for controlling the system volume.

void MPVolumeSettingsAlertShow();
Discussion

The alert panel displayed by this function floats above the contents of the current window. It contains a slider for adjusting the system volume setting and a Done button so that the user can dismiss the panel. You can also dismiss the panel programmatically using the MPVolumeSettingsAlertHide function.

Availability
See Also
Declared In
MPVolumeSettings.h



Last updated: 2008-04-18

Did this document help you? Yes It's good, but... Not helpful...