This article summarizes the key developer-related features introduced in iOS 4.3. This version of the operating system runs on all iOS-based devices. In addition to describing the key new features, this article lists the documents that describe those features in more detail.
For the latest updates and information, you should also see iOS 4.3 Release Notes. For the complete list of new APIs added in iOS 4.3, see iOS 4.3 API Diffs.
AirPlay Video Support
Support for playing video using AirPlay is included in the
MPMoviePlayerController class. This support allows you to play video-based content on AirPlay–enabled hardware such as Apple TV. When the
allowsAirPlay property of an active
MPMoviePlayerController object is set to
YES and the device is in range of AirPlay–enabled hardware, the movie player presents the user with a control for sending the video to that hardware. (That property is set to
NO by default.) Supported formats include:
H.264 video with AAC audio
HTTP streaming, both live and on demand
progressive download content
For web-based content, you can enable AirPlay Video in the QuickTime Plug-in or HTML5 video element as follows:
<embed src="movie.mov" width="320" height="240" airplay="allow">
HTML5 video element:
<video controls width="640" height="368" x-webkit-airplay="allow" src="content/side_with_the_seeds.mov"> </video>
For more information about using the
MPMoviePlayerController class to play video, see MPMoviePlayerController Class Reference.
The following sections highlight the significant changes to frameworks and technologies in iOS 4.3. For a complete list of all new interfaces available in the system, see iOS 4.3 API Diffs.
The AV Foundation framework includes the following enhancements:
AVMetadataItemclass added support for loading key data asynchronously.
For information about the classes of the UIKit framework, see AV Foundation Framework Reference.
Core Audio Frameworks
The Audio Unit and Audio Toolbox frameworks include the following enhancements:
AudioUnitParameterHistoryInfostruct (in the Audio Unit framework) along with supporting audio unit properties adds the ability to track and use parameter automation history.
kAudioConverterErr_NoHardwarePermissionresult code (in the Audio Toolbox framework) indicates that a request to create a new audio converter object cannot be satisfied because the application does not have permission to use the requested hardware codec.
For information about the functions and types of the Audio Unit framework, see Audio Unit Framework Reference. For information about the functions and types of the Audio Toolbox framework, see Audio Toolbox Framework Reference.
ADInterstitialAd class is controller that you can use to present full-screen banners in your content. You present these banners in an existing view or as part of a transition from one page of content to another. For example, you might use this object to incorporate full-page ads into a page-based magazine layout.
For more information about the classes of the iAd framework, see iAd Framework Reference.
The Media Player framework includes the following enhancements:
MPMoviePlayerControllerclass now includes properties for accessing log information.
For more information about the classes of the Media Player framework, see Media Player Framework Reference.
UIViewController class added the
disablesAutomaticKeyboardDismissal method, which you can use to override the default input view dismissal behavior.
For more information about the classes of the UIKit framework, see UIKit Framework Reference.