I am using AudioSessionGetProperty to check \'audioIsAlreadyPlaying\'. Xcode says: \'AudioSessionGetProperty\' is deprecated: first deprecated in iOS 7.0
P
Trying using the AVAudioSession's otherAudioPlaying property on iOS 6.0 or higher.
AVAudioSession
[[AVAudioSession sharedInstance] isOtherAudioPlaying]
The AVAudioSession class replaces deprecated AudioSession APIs. For what you're doing, see the otherAudioPlaying property.