Thursday 25 August 2011

World of ios4.3

Welcome to world of ios4.3

Feature Enhancements in ios4.3:-

• AirPlay Enhancements
AirPlay is a technology that lets your application stream audio and now Video to Apple TV and to third-party AirPlay speakers and receivers. Once the user chooses to play your audio and now Video using AirPlay, it is routed automatically by the system.

• Safari Performance
Now surf the web as fast as in iOS (4.2)2

• iTunes Home Sharing
• iPad Side Switch
• Personal Hotspot for iPhone 4
Now Enable Personal Hotspot and share your cellular data connection with your Mac, PC, iPad, or other Wi-Fi-capable device. You can share your connection with up to five devices at once over Wi-Fi, Bluetooth, and USB .Every connection is password protected and secure. And it’s power friendly, too.

• iPad Features(Multitasking):-

1. You pinch to get to the Home screen (instead of pressing the home button)
2. Swipe up to reveal the multitasking tray (instead of double-clicking the home button)
3. Swipe left and right to switch apps

Crack Nutshells of ios4.3:-
Time for the ios developers to take a sound breath because this section describes the developer-related features introduced in ios 4.3

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.)

allowsAirPlay=YES;

For web-based content, you can enable AirPlay Video in the QuickTime Plug-in or HTML5 video element as follows:

QTPlug-in:
● airplay="allow"
● airplay="deny"(Default)

For example: <embed src="movie.mov" width="320" height="240" airplay="allow">

HTML5 video element:

● x-webkit-airplay="allow"
● x-webkit-airplay="deny"(Default)

For example: <video controls width="640" height="368" x-webkit-airplay="allow" src="content/side_with_the_seeds.mov"> </video>

Framework Enhancements:-

The following sections highlight the significant changes to frameworks and technologies in iOS 4.3

AV Foundation Framework:-
The AV Foundation framework includes the following enhancements

1.)The AV Foundation framework added the following classes for tracking network playback statistics.

• AVPlayerItem
• AVPlayerItemAccessLogEvent
• AVPlayerItemErrorLogEvent

2.)The AVMetadataItem class added support for loading key data asynchronously.

iAd Framework:-
The ADInterstitialView class is a view that you can use to embed full-screen banners into your content. You can present these banners modally or as part of a transition from one page of content to another.

UIKit Framework:-
The UIViewController class added the disablesAutomaticKeyboardDismissal method, which you can use to override the default input view dismissal behavior.

Media Player Framework:-
The Media Player framework includes the following enhancements:

1.)The MPMoviePlayerController class supports playback of video content using AirPlay.

2.)The Media Player framework added the following classes for tracking network playback statistics.

1. MPMovieAccessLog,
2. MPMovieErrorLog,
3. MPMovieAccessLogEvent
4. MPMovieErrorLogEvent

3.)The MPMoviePlayerController class now includes properties for accessing log information.


Core Audio Framework:-
The Audio Unit and Audio Toolbox frameworks include the following enhancements

1.)The AudioUnitParameterHistoryInfo struct (in the Audio Unit framework) along with supporting audio unit properties adds the ability to track and use parameter automation history.

2.) The ExtendedAudioFormatInfo struct (in the Audio Toolbox framework) lets you specify which codec to use when accessing the kAudioFormatProperty_FormatList property.

3.)The kAFInfoDictionary_SourceBitDepth dictionary key and the kAudioFilePropertySourceBitDepth property (in the Audio Toolbox framework) provide access to the bit depth of an audio stream.

4.)The kAudioConverterErr_NoHardwarePermission result 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.

I hope this document will help you in understanding and developing applications in ios4.3.
Happy Coding!!!!:)

No comments:

Post a Comment