Difference between AV Foundation framework and Media Player framework
<p>Audio and video files can be played using <a href="https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVFoundationFramework/index.html#//apple_ref/doc/uid/TP40008072" rel="nofollow">AV Foundation framework</a> and <a href="https://developer.apple.com/library/ios/documentation/MediaPlayer/Reference/MediaPlayer_Framework/" rel="nofollow">Media Player framework</a>. </p>

<ul>
<li><strong>What is the better choice when I just want to play the media file?</strong></li>
</ul>

<p>With Media Player framework, we can access the iPod library, and can find and play audio-based media items synced from iTunes on the desktop.</p>

<p>With AVFoundation,  we can examine, create, edit, or reencode media files.</p>