Sweet! Am I the only one who gets REALLY excited for new iOS releases?
iOS SDK 4.3 will offer new capabilities that you can start adding to your apps including the ability to stream video to Apple TV using AirPlay, iAd full screen banners, and HTTP Live Streaming statistics.
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.
You must explicitly opt-in to AirPlay playback for any movie players you create. The
allowsAirPlay property of
MPMoviePlayerController is set to
NO by default.
The following sections highlight the significant changes to frameworks and technologies in iOS 4.3.
The AV Foundation framework includes the following enhancements:
The AV Foundation framework added the
AVPlayerItemErrorLogEventclasses for tracking network playback statistics.
AVMetadataItemclass added support for loading key data asynchronously.
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.
ExtendedAudioFormatInfostruct (in the Audio Toolbox framework) lets you specify which codec to use when accessing the
kAFInfoDictionary_SourceBitDepthdictionary key and the
kAudioFilePropertySourceBitDepthproperty (in the Audio Toolbox framework) provide access to the bit depth of an audio stream.
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.
ADInterstitialView class is a view that you can use to embed advertisements more directly into your content. You present an interstitial view modally or as part of a transition from one page of content to another. For example, you might use this type of view to incorporate full-page ads into a page-based magazine layout.
The Media Player framework includes the following enhancements:
MPMoviePlayerControllerclass supports playback of video content using AirPlay; see â€œAirPlay Video Support.â€
MPMovieErrorLogEventclasses allow you to track network playback statistics.
MPMoviePlayerControllerclass now includes properties for accessing log information.
UIViewController class added the
disablesAutomaticKeyboardDismissal method, which you can use to override the default input view dismissal behavior.