Skip to content

AVKit MacCatalyst 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/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h	2025-04-19 05:25:35
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h	2025-05-28 04:09:02
@@ -18,6 +18,7 @@
 #import <AVKit/AVKitDefines.h>
 #endif // TARGET_OS_MACCATALYST
 
+#import <AVKit/AVCaptureEventSound.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -26,40 +27,49 @@
 
 // MARK: -
 
-/*!
-	@enum		AVCaptureEventPhase
-	@abstract	An enum describing the phase of a capture event.
-	@constant	AVCaptureEventPhaseBegan
-				A phase sent at the beginning of a capture event.
-	@constant	AVCaptureEventPhaseEnded
-				A phase sent at the end of a capture event.
-	@constant	AVCaptureEventPhaseCancelled
-				A phase sent when a capture event is cancelled.
- */
+/// An enum describing the phase of a capture event.
 typedef NS_ENUM(NSUInteger, AVCaptureEventPhase) {
+	/// A phase sent at the beginning of a capture event.
 	AVCaptureEventPhaseBegan,
+	/// A phase sent at the end of a capture event.
 	AVCaptureEventPhaseEnded,
+	/// A phase sent when a capture event is cancelled.
 	AVCaptureEventPhaseCancelled,
 } API_AVAILABLE(ios(17.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos, watchos);
 
 
 // MARK: -
 
-/*!
-	@interface	AVCaptureEvent
-	@abstract	An object describing a system capture event.
- */
+/// An object describing a system capture event.
 API_AVAILABLE(ios(17.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos, watchos)
 @interface AVCaptureEvent : NSObject
 
 AVKIT_INIT_UNAVAILABLE
 
 
+/// The current phase of this capture event.
+@property (nonatomic, readonly) AVCaptureEventPhase phase;
+
 /*!
-	@property	phase
-	@abstract	The current phase of this capture event.
+ *	Plays the given capture sound through AirPods.
+ *
+ *	This method has no effect if `shouldPlaySound` is `NO` or if the event object's lifetime exceeds 15 seconds.
+ *
+ * - Parameter sound: The capture sound to play for this event.
+ * - Returns: A BOOL indicating whether a sound was played or not.
  */
-@property (nonatomic, readonly) AVCaptureEventPhase phase;
+- (BOOL)playSound:(AVCaptureEventSound *)sound API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, macCatalyst) API_UNAVAILABLE(macos, tvos, watchos);
+
+/*!
+ *	Indicates whether a sound must be played manually using the `playSound` method.
+ *
+ *	This property is `YES` only when both of the following conditions are true:
+ *	1. The event was triggered by an AirPod stem click.
+ *	2. The default capture sound is disabled.
+ *
+ *	If `shouldPlaySound ` is `NO`, calling `playSound` will have no effect. Omitting the sound when expected can significantly impact the user experience.
+ */
+@property (nonatomic, readonly) BOOL shouldPlaySound API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, macCatalyst) API_UNAVAILABLE(macos, tvos, watchos);
 
 @end
 
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h	2025-04-19 05:25:35
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h	2025-05-28 04:09:02
@@ -3,7 +3,7 @@
 	
 	Framework:  AVKit
 	
-	Copyright © 2022-2023 Apple Inc. All rights reserved.
+	Copyright © 2022-2025 Apple Inc. All rights reserved.
 	
 	To report bugs, go to:  http://developer.apple.com/bugreporter/
 
@@ -26,46 +26,47 @@
 // MARK: -
 
 /*!
-	@interface	AVCaptureEventInteraction
-	@abstract	A UIInteraction used to register actions triggered by system capture events.
-	@discussion	Events may or may not be sent to applications based on the current system state. Backgrounded applications will not receive events, additionally events will only be sent to applications that are actively using the camera. AVCaptureEventInteraction should be attached to views in the responder chain.
- 
-				This API is for media capture use cases only.
+ *	A UIInteraction used to register actions triggered by system capture events.
+ *
+ *	Events may or may not be sent to applications based on the current system state. Backgrounded applications will not receive events, additionally events will only be sent to applications that are actively using the camera. AVCaptureEventInteraction should be attached to views in the responder chain.
+ *
+ *	This API is for media capture use cases only.
  */
 API_AVAILABLE(ios(17.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos, watchos)
 @interface AVCaptureEventInteraction : NSObject <UIInteraction>
 
 AVKIT_INIT_UNAVAILABLE
 
-
 /*!
-	@method		initWithEventHandler:
-	@param		handler
-				An event handler called when either the primary or secondary events are triggered.
-	@returns	An AVCaptureEventInteraction.
-	@abstract	Initializer for an AVCaptureEventInteraction.
+ *	Initializer for an AVCaptureEventInteraction.
+ *
+ * - Parameter handler: An event handler called when either the primary or secondary events are triggered.
+ * - Returns: An AVCaptureEventInteraction.
  */
 - (instancetype)initWithEventHandler:(void (^)(AVCaptureEvent *event))handler NS_SWIFT_NAME(init(handler:));
 
 /*!
-	@method		initWithPrimaryEventHandler:secondaryEventHandler:
-	@param		primaryHandler
-				An event handler called when a primary capture event is triggered.
-	@param		secondaryHandler
- 				An event handler called when a secondary capture event is triggered.
-	@returns	An AVCaptureEventInteraction.
-	@abstract	Initializer for an AVCaptureEventInteraction.
+ *	Initializer for an AVCaptureEventInteraction.
+ *
+ * - Parameter primaryHandler: An event handler called when a primary capture event is triggered.
+ * - Parameter secondaryHandler: An event handler called when a secondary capture event is triggered.
+ * - Returns: An AVCaptureEventInteraction.
  */
 - (instancetype)initWithPrimaryEventHandler:(void (^)(AVCaptureEvent *event))primaryHandler secondaryEventHandler:(void (^)(AVCaptureEvent *event))secondaryHandler NS_SWIFT_NAME(init(primary:secondary:));
 
-
 /*!
-	@property	enabled
-	@abstract	A boolean value indicating whether this capture event interaction is active or not.
- 
-				Set this value to NO when your application cannot or will not respond to the action callbacks to avoid non-interactive buttons or UI elements.
+ *	A boolean value indicating whether this capture event interaction is active or not.
+ *
+ *	Set this value to NO when your application cannot or will not respond to the action callbacks to avoid non-interactive buttons or UI elements.
  */
 @property (nonatomic, readwrite, getter=isEnabled) BOOL enabled;
+
+/*!
+ * 	A boolean value indicating whether or not the default sound is disabled.
+ *
+ *  If `YES`, sound playback for capture events must be handled manually using the `playSound` method.
+ */
+@property (class, nonatomic, readwrite) BOOL defaultCaptureSoundDisabled API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, macCatalyst) API_UNAVAILABLE(macos, tvos, watchos);
 
 @end
 
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventSound.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventSound.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventSound.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventSound.h	2025-05-28 04:09:02
@@ -0,0 +1,45 @@
+/*
+	File:  AVCaptureEventSound.h
+	
+	Framework:  AVKit
+	
+	Copyright © 2025 Apple Inc. All rights reserved.
+	
+	To report bugs, go to:  http://developer.apple.com/bugreporter/
+
+ */
+
+#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
+#import <AVKit/AVKitDefines.h>
+#else
+#import <AVKit/AVKitDefines.h>
+#endif // TARGET_OS_OSX || TARGET_OS_MACCATALYST
+
+
+// MARK: -
+
+/// A sound object for a capture event.
+API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, macCatalyst) API_UNAVAILABLE(macos, tvos, watchos)
+@interface AVCaptureEventSound : NSObject
+
+AVKIT_INIT_UNAVAILABLE
+
+/*!
+ * Initializer for an AVCaptureEventSound with a custom sound.
+ *
+ * - Parameter url: A URL within the app's bundle for a custom capture sound.
+ * - Parameter error: A return by-reference error that specifies any error in creating the sound object.
+ * - Returns: An AVCaptureEventSound.
+ */
+- (instancetype)initWithURL:(NSURL *)url error:(NSError **)error;
+
+/// The default sound for photo capture.
+@property (class, readonly) AVCaptureEventSound *cameraShutterSound;
+
+/// The default sound for starting a video recording.
+@property (class, readonly) AVCaptureEventSound *beginVideoRecordingSound;
+
+/// The default sound for ending a video recording.
+@property (class, readonly) AVCaptureEventSound *endVideoRecordingSound;
+
+@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVError.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVError.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVError.h	2025-04-19 05:25:35
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVError.h	2025-05-28 04:09:02
@@ -40,12 +40,12 @@
 				The recording failed.
  */
 typedef NS_ENUM(NSInteger, AVKitError) {
-	AVKitErrorUnknown																					= -1000,
-	AVKitErrorPictureInPictureStartFailed API_UNAVAILABLE(watchos)										= -1001,
-	
+	AVKitErrorUnknown																						= -1000,
+	AVKitErrorPictureInPictureStartFailed API_UNAVAILABLE(watchos)											= -1001,
+
 	AVKitErrorContentRatingUnknown API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, visionos, watchos)		= -1100,
 	AVKitErrorContentDisallowedByPasscode API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, visionos, watchos)	= -1101,
 	AVKitErrorContentDisallowedByProfile API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, visionos, watchos)	= -1102,
-	
+
 	AVKitErrorRecordingFailed API_UNAVAILABLE(watchos) API_UNAVAILABLE(ios, tvos, visionos)				= -1200,
 } API_AVAILABLE(ios(9.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos);
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVInputPickerInteraction.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVInputPickerInteraction.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVInputPickerInteraction.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVInputPickerInteraction.h	2025-05-28 04:09:02
@@ -0,0 +1,93 @@
+/*
+	File:  AVInputPickerInteraction.h
+	
+	Framework:  AVKit
+	
+	Copyright © 2013-2025 Apple Inc. All rights reserved.
+	
+ */
+
+#import <AVFoundation/AVFoundation.h>
+#import <UIKit/UIKit.h>
+
+@class AVInputPickerInteraction;
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, macCatalyst) API_UNAVAILABLE(macos, tvos, watchos)
+/*! The `AVInputPickerInteractionDelegate` protocol defines methods you use to receive notifications about transitions in an `AVInputPickerInteraction` object. */
+NS_SWIFT_NAME(AVInputPickerInteraction.Delegate)
+@protocol AVInputPickerInteractionDelegate <NSObject>
+@optional
+
+/*!
+ Tells the delegate that the input picker view is about to present devices.
+
+ - Parameter inputPickerInteraction: The current AVInputPickerInteraction.
+ */
+- (void)inputPickerInteractionWillBeginPresenting:(AVInputPickerInteraction *_Nonnull)inputPickerInteraction;
+
+/*!
+ Tells the delegate that the input picker view has finished presenting devices
+
+ The `isPresented` property is set to `YES` at this point, indicating that the presentation is complete.
+
+ - Parameter inputPickerInteraction: The current AVInputPickerInteraction.
+ */
+- (void)inputPickerInteractionDidEndPresenting:(AVInputPickerInteraction *_Nonnull)inputPickerInteraction;
+
+/*!
+ Tells the delegate that the input picker view is about to dismiss devices.
+
+ - Parameter inputPickerInteraction: The current AVInputPickerInteraction.
+ */
+- (void)inputPickerInteractionWillBeginDismissing:(AVInputPickerInteraction *_Nonnull)inputPickerInteraction;
+
+/*!
+ Tells the delegate that the input picker view has finished dismissing devices.
+
+ The `isPresented` property is set to `NO` at this point, indicating that the dismissal is complete.
+
+ - Parameter inputPickerInteraction: The current AVInputPickerInteraction.
+ */
+- (void)inputPickerInteractionDidEndDismissing:(AVInputPickerInteraction *_Nonnull)inputPickerInteraction;
+
+@end
+
+API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, macCatalyst) API_UNAVAILABLE(macos, tvos, watchos)
+/*! Use `AVInputPickerInteraction` to present an input picker. */
+@interface AVInputPickerInteraction : NSObject <UIInteraction>
+
+/*! The input picker view's delegate. */
+@property (nonatomic, nullable, weak) id<AVInputPickerInteractionDelegate> delegate;
+
+/*! A Boolean value that indicates whether the picker is currently visible. */
+@property (nonatomic, readonly, getter=isPresented) BOOL presented;
+
+/*! The audio session for the picker. */
+@property (nonatomic, nonnull, strong) AVAudioSession *audioSession;
+
+/*! Presents the input picker. */
+- (void)present;
+
+/*! Dismisses the input picker. */
+- (void)dismiss;
+
+/*! Creates a new instance of AVInputPickerController using a default sharedInstance from `AVAudioSession`. */
+- (instancetype)init;
+
+/*!
+ Creates a new instance of AVInputPickerInteraction using a specific `AVAudioSession`.
+  
+ Use this initializer when the provided `AVAudioSession` is in .record
+ mode or you plan to switch it to record mode.
+  
+ If nil session is passed in object will use a sharedInstance from `AVAudioSession`.
+  
+	- Parameter audioSession: An optional recording configured audio session. If you provide a non-recording session, the input list will be empty.
+ */
+- (instancetype)initWithAudioSession:(AVAudioSession *_Nullable)audioSession;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/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/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2025-04-19 05:25:34
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2025-05-28 04:09:02
@@ -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/iOSSupport/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/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h	2025-04-19 05:25:35
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h	2025-05-28 04:09:02
@@ -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/iOSSupport/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/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h	2025-04-19 05:25:35
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h	2025-05-28 04:09:02
@@ -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/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h	2025-04-19 05:25:35
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h	2025-05-28 04:09:02
@@ -32,7 +32,6 @@
 } API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(macos, ios, watchos, visionos);
 
 
-
 @class AVContentProposal;
 @class AVGroupExperienceCoordinator;
 @class AVInterstitialTimeRange;
@@ -282,6 +281,14 @@
  */
 @property (nonatomic) BOOL requiresMonoscopicViewingMode API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
 
+/*!
+ 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(ios(26.0)) API_UNAVAILABLE(tvos, visionos, watchos);
 
 
 // MARK: - Contextual Actions
@@ -357,6 +364,15 @@
 				Documentation on how to export a new copy of the asset via `AVAssetExportSession` after trimming can be found at https://developer.apple.com.
  */
 - (void)beginTrimmingWithCompletionHandler:(nullable void (^)(BOOL success))handler API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+
+
+// MARK: - Custom Media Selection Schemes
+
+/*!
+	@property	mediaCharacteristicsForSupportedCustomMediaSelectionSchemes
+	@abstract	Returns available AVKit supported media group types.
+ */
+@property (class, readonly) NSArray <AVMediaCharacteristic> *mediaCharacteristicsForSupportedCustomMediaSelectionSchemes API_AVAILABLE(ios(26.0), tvos(26.0)) API_UNAVAILABLE(macos, visionos, watchos);
 
 @end
 
Clone this wiki locally