Documentation Archive Developer
Search

iOS 4.1 to iOS 4.2 API Differences

Added frameworks:

Accelerate

No changes

AddressBook

No changes

AddressBookUI

No changes

AssetsLibrary

No changes

AudioToolbox

AudioFile.h

AudioUnit

AudioUnitProperties.h
Added VoiceIOFarEndVersionInfo
Added kAUVoiceIOProperty_FarEndVersionInfo
Added kVoiceIOFarEndAUVersion_RequiresBackwardCompatibility
Added kVoiceIOFarEndAUVersion_ThirdParty

AVFoundation

AVAsset.h
Added AVAsset(AVAssetProtectedContent)
AVMetadataItem.h
Protocols
FromNSCopying, NSMutableCopying
ToAVAsynchronousKeyValueLoading, NSCopying, NSMutableCopying

CFNetwork

No changes

CoreAudio

No changes

CoreData

No changes

CoreFoundation

CoreGraphics

No changes

CoreLocation

CoreMedia

CoreMIDI

MIDIDriver.h
MIDIServices.h
Added MIDIPacket
Added #def MIDIPacketNext
Added MIDIPacketNext() (no architecture available)
Added MIDISend()

CoreMotion

No changes

CoreTelephony

CoreTelephonyDefines.h
Added #def CORETELEPHONY_EXTERN
Added #def CORETELEPHONY_EXTERN_CLASS

CoreText

CTFontTraits.h

CoreVideo

No changes

EventKit

EKError.h

EventKitUI

ExternalAccessory

ExternalAccessoryDefines.h
Added #def EA_EXTERN_CLASS_AVAILABLE

Foundation

NSObjCRuntime.h

GameKit

GKAchievement.h
Declaration
From@property(nonatomic, assign, getter=isHidden) BOOL hidden
To@property(nonatomic, assign, getter=isHidden, readonly) BOOL hidden

GKAchievementDescription.h
Declaration
From@property(nonatomic, retain) NSString *unachievedDescription
To@property(nonatomic, retain, readonly) NSString *unachievedDescription

Declaration
From@property(nonatomic, retain) NSString *achievedDescription
To@property(nonatomic, retain, readonly) NSString *achievedDescription

Declaration
From@property(nonatomic, assign) NSInteger maximumPoints
To@property(nonatomic, assign, readonly) NSInteger maximumPoints

Declaration
From@property(nonatomic, retain) NSString *identifier
To@property(nonatomic, retain, readonly) NSString *identifier

Declaration
From@property(nonatomic, retain) NSString *title
To@property(nonatomic, retain, readonly) NSString *title

Declaration
From@property(nonatomic, getter=isHidden, assign) BOOL hidden
To@property(nonatomic, getter=isHidden, assign, readonly) BOOL hidden

Declaration
From@property(nonatomic, retain) UIImage *image
To@property(nonatomic, retain, readonly) UIImage *image

GKError.h

iAd

ADBannerView.h
Deprecation
Fromnone
ToiOS 4.2

Deprecation
Fromnone
ToiOS 4.2

ImageIO

No changes

MapKit

MediaPlayer

MPMediaItem.h
Removed +[MPMediaItem canFilterByProperty:]
Removed -[MPMediaItem enumerateValuesForProperties:usingBlock:]
Removed -[MPMediaItem valueForProperty:]
Modified MPMediaItem
SuperclassProtocols
FromNSObjectNSCoding
ToMPMediaEntitynone

MPMediaItemCollection.h
SuperclassProtocols
FromNSObjectNSCoding
ToMPMediaEntitynone

MPMediaLibrary.h
Protocols
Fromnone
ToNSCoding

MPMediaPlaylist.h
Removed +[MPMediaPlaylist canFilterByProperty:]
Removed -[MPMediaPlaylist valueForProperty:]
MPMoviePlayerController.h
Removed -[MPMoviePlayerController play] (no architecture available)
Removed -[MPMoviePlayerController setInitialPlaybackTime:] (no architecture available)
Removed -[MPMoviePlayerController stop] (no architecture available)
Removed MPMoviePlayerController()
Removed MPMoviePlayerController(MPMediaPlayback) (no architecture available)
Protocols
Fromnone
ToMPMediaPlayback

MediaPlayerDefines.h
Added #def MP_EXTERN_CLASS_AVAILABLE

MessageUI

No changes

MobileCoreServices

No changes

OpenAL

No changes

OpenGLES

No changes

QuartzCore

QuickLook

QLBase.h
Removed #def QUICKLOOK_VERSION

Security

SecBase.h

StoreKit

StoreKitDefines.h
Added #def SK_EXTERN_CLASS_AVAILABLE

SystemConfiguration

No changes

UIKit

UIAccessibilityConstants.h
UIKitDefines.h
Removed #def UIKIT_EXTERN_CLASS
Added #def UIKIT_CLASS_AVAILABLE
UIPrintInteractionController.h
UIPrintPaper.h
UITableView.h
Declaration
From- (NSInteger)tableView:(UITableView *)table numberOfRowsInSection:(NSInteger)section
To- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section