Answer the question
In order to leave comments, you need to log in
How to play audio from the Internet on iPhone?
Hello!
Tell me how to play an mp3 file from the Internet on a standard player?
I did it on AVPlayer and AVAudioPlayer, neither of them uses the standard player, while many programs use it specifically for playing from the Internet.
I understand that you need to use MPMusicPlayerController, but I read that it only plays music from the library. Therefore, I want to either understand that I'm wrong :) or find out the right solution.
I also want to cache the file being played, but that will probably come later.
And, well, you also need to play music in the background, of course. AVPlayer and AVAudioPlayer can't (or I can't force them) :)
Thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question