Documentation Archive Developer
Search

AVFoundation Changes

AVFoundation

AVAsset.h
Declaration
From
- (id)initWithURL:(NSURL *)URL options:(NSDictionary *)options
To
- (instancetype)initWithURL:(NSURL *)URL options:(NSDictionary *)options

AVAssetExportSession.h
Declaration
From
- (id)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName
To
- (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName

AVAssetImageGenerator.h
Declaration
From
- (id)initWithAsset:(AVAsset *)asset
To
- (instancetype)initWithAsset:(AVAsset *)asset

AVAssetReader.h
Declaration
From
+ (AVAssetReader *)assetReaderWithAsset:(AVAsset *)asset error:(NSError **)outError
To
+ (instancetype)assetReaderWithAsset:(AVAsset *)asset error:(NSError **)outError

Declaration
From
- (id)initWithAsset:(AVAsset *)asset error:(NSError **)outError
To
- (instancetype)initWithAsset:(AVAsset *)asset error:(NSError **)outError

AVAssetReaderOutput.h
Declaration
From
+ (AVAssetReaderAudioMixOutput *)assetReaderAudioMixOutputWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings
To
+ (instancetype)assetReaderAudioMixOutputWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings

Declaration
From
- (id)initWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings
To
- (instancetype)initWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings

Declaration
From
+ (AVAssetReaderTrackOutput *)assetReaderTrackOutputWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings
To
+ (instancetype)assetReaderTrackOutputWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings

Declaration
From
- (id)initWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings
To
- (instancetype)initWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings

Declaration
From
+ (AVAssetReaderVideoCompositionOutput *)assetReaderVideoCompositionOutputWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings
To
+ (instancetype)assetReaderVideoCompositionOutputWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings

Declaration
From
- (id)initWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings
To
- (instancetype)initWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings

AVAssetWriter.h
Declaration
From
+ (AVAssetWriter *)assetWriterWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError
To
+ (instancetype)assetWriterWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError

Declaration
From
- (id)initWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError
To
- (instancetype)initWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError

Declaration
From
- (id)initWithInputs:(NSArray *)inputs defaultInput:(AVAssetWriterInput *)defaultInput
To
- (instancetype)initWithInputs:(NSArray *)inputs defaultInput:(AVAssetWriterInput *)defaultInput

AVAssetWriterInput.h
Declaration
From
- (id)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings
To
- (instancetype)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings

Declaration
From
- (id)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings sourceFormatHint:(CMFormatDescriptionRef)sourceFormatHint
To
- (instancetype)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings sourceFormatHint:(CMFormatDescriptionRef)sourceFormatHint

Declaration
From
+ (AVAssetWriterInputPixelBufferAdaptor *)assetWriterInputPixelBufferAdaptorWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes
To
+ (instancetype)assetWriterInputPixelBufferAdaptorWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes

Declaration
From
- (id)initWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes
To
- (instancetype)initWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes

AVAudioPlayer.h
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError
To
- (instancetype)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError

Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url fileTypeHint:(NSString *)utiString error:(NSError **)outError
To
- (instancetype)initWithContentsOfURL:(NSURL *)url fileTypeHint:(NSString *)utiString error:(NSError **)outError

Declaration
From
- (id)initWithData:(NSData *)data error:(NSError **)outError
To
- (instancetype)initWithData:(NSData *)data error:(NSError **)outError

Declaration
From
- (id)initWithData:(NSData *)data fileTypeHint:(NSString *)utiString error:(NSError **)outError
To
- (instancetype)initWithData:(NSData *)data fileTypeHint:(NSString *)utiString error:(NSError **)outError

DeprecationOptional
From----
ToiOS 8.0yes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

AVAudioRecorder.h
Declaration
From
- (id)initWithURL:(NSURL *)url settings:(NSDictionary *)settings error:(NSError **)outError
To
- (instancetype)initWithURL:(NSURL *)url settings:(NSDictionary *)settings error:(NSError **)outError

DeprecationIntroductionOptional
From--iOS 3.0--
ToiOS 8.0iOS 2.2yes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

AVAudioUnitVarispeed.h (Added)
AVCaptureDevice.h
Added AVCaptureDevice(AVCaptureDeviceHighDynamicRangeSupport)
Deprecation
From--
ToiOS 8.0

Introduction
FromiOS 6.0
ToiOS 4.0

AVCaptureOutput.h
AVCompositionTrackSegment.h
Declaration
From
- (id)initWithTimeRange:(CMTimeRange)timeRange
To
- (instancetype)initWithTimeRange:(CMTimeRange)timeRange

Declaration
From
- (id)initWithURL:(NSURL *)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange
To
- (instancetype)initWithURL:(NSURL *)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange

AVMediaSelectionGroup.h
AVMetadataIdentifiers.h (Added)
AVMetadataItem.h
Added AVMetadataItem(AVMetadataItemArrayFilteringDeprecable)
Added AVMetadataItem(AVMetadataItemKeyAndKeyspace)
Added AVMutableMetadataItem(AVMutableMetadataItemKeyAndKeyspace)
AVPlayer.h
Declaration
From
- (id)initWithPlayerItem:(AVPlayerItem *)item
To
- (instancetype)initWithPlayerItem:(AVPlayerItem *)item

Declaration
From
- (id)initWithURL:(NSURL *)URL
To
- (instancetype)initWithURL:(NSURL *)URL

Declaration
From
- (id)initWithItems:(NSArray *)items
To
- (instancetype)initWithItems:(NSArray *)items

AVPlayerItem.h
Declaration
From
- (id)initWithAsset:(AVAsset *)asset
To
- (instancetype)initWithAsset:(AVAsset *)asset

Declaration
From
- (id)initWithAsset:(AVAsset *)asset automaticallyLoadedAssetKeys:(NSArray *)automaticallyLoadedAssetKeys
To
- (instancetype)initWithAsset:(AVAsset *)asset automaticallyLoadedAssetKeys:(NSArray *)automaticallyLoadedAssetKeys

Declaration
From
- (id)initWithURL:(NSURL *)URL
To
- (instancetype)initWithURL:(NSURL *)URL

AVPlayerItemOutput.h
Declaration
From
- (id)initWithMediaSubtypesForNativeRepresentation:(NSArray *)subtypes
To
- (instancetype)initWithMediaSubtypesForNativeRepresentation:(NSArray *)subtypes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Declaration
From
- (id)initWithPixelBufferAttributes:(NSDictionary *)pixelBufferAttributes
To
- (instancetype)initWithPixelBufferAttributes:(NSDictionary *)pixelBufferAttributes

AVPlayerMediaSelectionCriteria.h
Declaration
From
- (id)initWithPreferredLanguages:(NSArray *)preferredLanguages preferredMediaCharacteristics:(NSArray *)preferredMediaCharacteristics
To
- (instancetype)initWithPreferredLanguages:(NSArray *)preferredLanguages preferredMediaCharacteristics:(NSArray *)preferredMediaCharacteristics

AVSpeechSynthesis.h
Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Declaration
From
- (AVSpeechUtterance *)initWithString:(NSString *)string
To
- (instancetype)initWithString:(NSString *)string

Declaration
From
+ (AVSpeechUtterance *)speechUtteranceWithString:(NSString *)string
To
+ (instancetype)speechUtteranceWithString:(NSString *)string

AVTextStyleRule.h
Declaration
From
- (id)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes
To
- (instancetype)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes

Declaration
From
- (id)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes textSelector:(NSString *)textSelector
To
- (instancetype)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes textSelector:(NSString *)textSelector

AVTimedMetadataGroup.h
Added AVTimedMetadataGroup(AVTimedMetadataGroupSerializationSupport)
Declaration
From
- (id)initWithItems:(NSArray *)items timeRange:(CMTimeRange)timeRange
To
- (instancetype)initWithItems:(NSArray *)items timeRange:(CMTimeRange)timeRange

AVVideoCompositing.h
AVVideoComposition.h
Declaration
From
@property(nonatomic, retain) Class<AVVideoCompositing> *customVideoCompositorClass
To
@property(nonatomic, retain) Class<AVVideoCompositing> customVideoCompositorClass

Declaration
From
@property(nonatomic, readonly) Class<AVVideoCompositing> *customVideoCompositorClass
To
@property(nonatomic, readonly) Class<AVVideoCompositing> customVideoCompositorClass

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes