I need to add AVAudioPlayer Framework in project but don’t find it.Is it deprecated in iOS 6?
If yes then what i m supposed to use to play audio file mp3. Will mediaplayer framework will work to play audiofile mp3.
I need to add AVAudioPlayer Framework in project but don’t find it.Is it deprecated
Share
No-no. AVAudioPlayer is a class, not a framework. If you’re intending to use this class, you have to link to the AVFoundation framework – in case you’re using Xcode, you can add this framework on the “build phases” tab in the “link with libraries” section.