Mr Dipuna Mr Dipuna - 1 month ago 4
Swift Question

AVFoundation Framework and Mediaplyer Framework: Which is the best framework to play audio/video in iOS Application?

I am new to iOS. I need to implement both video and audio player in my app. So please advice me which player is most suitable as per developer point of view.


  • AVplayer (AVFoundation )

  • MPMovieplayerController(MediaPlayer)


You should use AVPlayer since MPMovieplayerController is deprecated.