15
Deprecations
supportedPhotoPixelFormatTypes(for:) and supportedRawPhotoPixelFormatTypes(for:) now return [OSType] instead of [NSNumber] in Swift. (64822071)
recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:) now returns nullable NSDictionary<NSString *, id> * instead of nullable NSDictionary * in Objective-C and [String: Any]? instead of [AnyHashable: Any]? in Swift. (33784279)
cgImageRepresentation() and previewCGImageRepresentation() now return CGImage? instead of Unmanaged<CGImage>? in Swift. (44734827)
recommendedAudioSettingsForAssetWriter(writingTo:) now returns nullable NSDictionary<NSString *, id> * instead of nullable NSDictionary * in Objective-C and [String: Any]? instead of [AnyHashable: Any]? in Swift. (50450334)
15.4
Deprecations
Some extensions in std::tuple were removed to fix bugs caused by those extensions:
Tuples can no longer be constructed from fewer than the number of elements in the tuple. Previously, elements that weren’t specified were default-constructed; now this is a compiler error.
A tuple can no longer be constructed from an array.
The std::result_of and std::is_literal_type type traits are no longer available in C++20 mode, as specified in the Standard.
16
Deprecations
To improve security, CGImageCreate enforces parameter correctness on macOS 13 Ventura, iOS 16, iPadOS 16, watchOS 9, and tvOS 16. Passing an incorrect CGImageByteOrderInfo is no longer supported, and will result in images failing to load. (94855401)
16.2
Deprecations
In order to improve compiler type-checking performance, we’ve deprecated some Table initializers. They’re replaced with initializers which require an additional parameter that explicitly specifies the type they generate their contents from. This improves type-check performance by avoiding the need to infer a shared type from the bodies of separate closure parameters. For now, these initializers are deprecated. In a future release, those deprecation warnings will become errors. The new initializers add the parameter of:.
The new initializers add the parameter of:. The following shows a Table before, and after adoption of the new API:
16.4
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-16_4-release-notes#DeprecationsCore ML
Deprecations
Core ML Model Deployment is being deprecated. Consider using Background Assets or NSURLSession instead. (102993813)
Core Telephony
Deprecations
CTCarrier, a deprecated API, returns static values for apps that are built with the iOS 16.4 SDK or later. (76283818)
Deprecations
TimelineView initializers that pass an instance of TimelineView<_, _>.Context into its content closure have been deprecated in this release, and replaced with equivalent versions that pass an instance of TimelineViewDefaultContext instead.
17 beta 3
Audio Codecs
Deprecations
The QDesign audio codecs (qdmc & qdm2) and Qualcomm PureVoice audio codecs (qclp & qclq) are no longer supported. (82414419)(82414419)
@
YsHaNg 由于本身 12.15.7 xcode 12.4 对 14 大部分支持, 所以我直接从 15 开始找 一直到 17, 这个就是我找到的结果 这个对吗?