Deprecated MPMusicPlayerController Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 7.0

volume

The audio playback volume for the music player, in the range from 0.0 (silent) through 1.0 (maximum volume). (Deprecated in iOS 7.0. To provide UI for adjusting system playback volume, use the MPVolumeView class, which provides media playback controls that iOS users expect and whose appearance you can customize.)

@property (nonatomic) float volume
Availability
  • Available in iOS 3.0 and later.
  • Deprecated in iOS 7.0.
Declared In
MPMusicPlayerController.h