iOS 7 Programming Cookbook by Nahavandipoor Vandad

iOS 7 Programming Cookbook by Nahavandipoor Vandad

Author:Nahavandipoor, Vandad [Nahavandipoor, Vandad]
Language: eng
Format: epub
Tags: COMPUTERS / Programming / Apple Programming
ISBN: 9781449372415
Publisher: O'Reilly Media
Published: 2013-10-14T00:00:00+00:00


Chapter 12. Audio and Video

12.0. Introduction

The AV Foundation (Audio and Video Foundation) framework in the iOS SDK allows developers to play and/or record audio and video with ease. In addition, the Media Player framework allows developers to play audio and video files.

Before you can run the code in this chapter, you must add the AVFoundation.framework and MediaPlayer.framework frameworks to your Xcode project. With the new LLVM compiler, all you have to do in order to include these frameworks into your app is to import their umbrella header files into your app like so:

#import "AppDelegate.h" #import <AVFoundation/AVFoundation.h> #import <MediaPlayer/MediaPlayer.h> @implementation AppDelegate <# Rest of your app delegate code goes here #>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.