-
Notifications
You must be signed in to change notification settings - Fork 543
AVKit macOS xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#AVKit.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h 2025-04-19 02:38:50
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h 2025-05-28 03:59:23
@@ -37,10 +37,14 @@
#endif // TARGET_OS_OSX
+#if TARGET_OS_IOS
+#import <AVKit/AVInputPickerInteraction.h>
+#endif // TARGET_OS_IOS
#if TARGET_OS_IOS && !TARGET_OS_VISION
-#import <AVKit/AVCaptureEventInteraction.h>
#import <AVKit/AVCaptureEvent.h>
+#import <AVKit/AVCaptureEventInteraction.h>
+#import <AVKit/AVCaptureEventSound.h>
#import <AVKit/AVError.h>
#import <AVKit/AVPictureInPictureController.h>
#import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h 2025-04-19 02:38:50
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h 2025-05-28 03:59:23
@@ -72,6 +72,13 @@
#define AVKitPlatformColorClass NSColor
#endif // TARGET_OS_IPHONE
+
+#if TARGET_OS_IPHONE
+#define AVKitPlatformFontClass UIFont
+#else
+#define AVKitPlatformFontClass NSFont
+#endif // TARGET_OS_IPHONE
+
#else
#import <AVKitCore/AVKitDefines.h>
#endif
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h 2025-04-19 02:38:50
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h 2025-05-28 03:59:23
@@ -40,6 +40,20 @@
} API_AVAILABLE(ios(17.0), macos(14.0)) API_UNAVAILABLE(tvos, watchos);
+/*!
+ Describes how High Dynamic Range (HDR) video content renders.
+ */
+typedef NS_ENUM(NSInteger, AVDisplayDynamicRange) {
+ /// Defines an automatic dynamic range. Indicates that the dynamic range will be set automatically.
+ AVDisplayDynamicRangeAutomatic = 0,
+ /// Defines a standard dynamic range. Restricts the video content dynamic range to the standard range regardless of the actual range of the video content.
+ AVDisplayDynamicRangeStandard = 1,
+ /// Defines a constrained high dynamic range. Allows for constrained High Dynamic Range (HDR) video content which is useful for mixing HDR and Standard Dynamic Range (SDR) content.
+ AVDisplayDynamicRangeConstrainedHigh = 2,
+ /// Defines a high dynamic range. Allows video content to use extended dynamic range if it has dynamic range content.
+ AVDisplayDynamicRangeHigh = 3
+} API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos);
+
#else
#import <AVKitCore/AVKitTypes.h>
#endif
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h 2025-04-19 02:38:50
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h 2025-05-28 03:59:23
@@ -160,6 +160,15 @@
*/
- (void)setMagnification:(CGFloat)magnification centeredAtPoint:(CGPoint)point API_AVAILABLE(macos(13.0));
+/*!
+ Describes how High Dynamic Range (HDR) video content renders.
+
+ Defaults to ``AVDisplayDynamicRangeAutomatic``.
+
+ - Note: This property will only have effect if the video content supports HDR.
+ */
+@property (nonatomic, assign, readwrite) AVDisplayDynamicRange preferredDisplayDynamicRange API_AVAILABLE(macos(26.0));
+
@end