AVFoundation
弃用
-
supported PhotoPixelFormatTypes(for:) and supportedRawPhotoPixelFormatTypes(for:) now return
[OSType]
instead of[NSNumber]
in Swift. (64822071)
-
recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:) now returns
nullable NSDictionary<NSString *, id> *
instead ofnullable NSDictionary *
in Objective-C and[String: Any]?
instead of[AnyHashable: Any]?
in Swift. (33784279) -
cgImageRepresentation() and previewCGImageRepresentation() now return
CGImage?
instead ofUnmanaged<CGImage>?
in Swift. (44734827) -
recommendedAudioSettingsForAssetWriter(writingTo:) now returns
nullable NSDictionary<NSString *, id> *
instead ofnullable NSDictionary *
in Objective-C and[String: Any]?
instead of[AnyHashable: Any]?
in Swift. (50450334)
网友评论