Skip to content

AVKit MacCatalyst xcode27.0 b1

Alex Soto edited this page Jun 9, 2026 · 1 revision

#AVKit.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h /Applications/Xcode_27.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_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2026-04-19 03:28:43
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2026-05-28 06:59:03
@@ -57,6 +57,7 @@
 
 // Catalyst excluded headers
 #if !TARGET_OS_MACCATALYST
+#import <AVKit/AVInterfaceControllable.h>
 #import <AVKit/AVInterstitialTimeRange.h>
 // Included in AVKitCore on catalyst
 #import <AVKit/AVPlaybackSpeed.h>
@@ -71,6 +72,7 @@
 #import <AVKit/AVContinuityDevicePickerViewController.h>
 #import <AVKit/AVDisplayManager.h>
 #import <AVKit/AVError.h>
+#import <AVKit/AVInterfaceControllable.h>
 #import <AVKit/AVInterstitialTimeRange.h>
 #import <AVKit/AVNavigationMarkersGroup.h>
 #import <AVKit/AVPictureInPictureController.h>
@@ -89,6 +91,7 @@
 #import <AVKit/AVCaptureEventInteraction.h>
 #import <AVKit/AVCaptureEvent.h>
 #import <AVKit/AVError.h>
+#import <AVKit/AVInterfaceControllable.h>
 #import <AVKit/AVInterstitialTimeRange.h>
 #import <AVKit/AVPictureInPictureController.h>
 #import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
@@ -98,6 +101,7 @@
 #import <AVKit/AVPlayerItem+AVKitAdditions.h>
 #import <AVKit/AVPlayerViewController.h>
 #import <AVKit/AVRoutePickerView.h>
+#import <AVKit/AVViewport.h>
 #import <AVKit/UIWindow_AVAdditions.h>
 
 #endif // TARGET_OS_VISION
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVLegibleMediaOptionsMenuController.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVLegibleMediaOptionsMenuController.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVLegibleMediaOptionsMenuController.h	2026-04-19 03:28:43
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVLegibleMediaOptionsMenuController.h	2026-05-28 06:16:31
@@ -35,7 +35,7 @@
 typedef NS_ENUM(NSInteger, AVLegibleMediaOptionsMenuType) {
 	AVLegibleMediaOptionsMenuTypeDefault,
 	AVLegibleMediaOptionsMenuTypeCaptionAppearance
-} API_UNAVAILABLE(ios, macos, macCatalyst, visionos) API_UNAVAILABLE(tvos, watchos);
+} API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
 
 /*!
 	@enum		AVLegibleMediaOptionsMenuStateChangeReason
@@ -48,14 +48,14 @@
 typedef NS_ENUM(NSInteger, AVLegibleMediaOptionsMenuStateChangeReason) {
 	 AVLegibleMediaOptionsMenuStateChangeReasonNone,
 	 AVLegibleMediaOptionsMenuStateChangeReasonLanguageMismatch,
-} API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController.StateChangeReason);
+} API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController.StateChangeReason);
 
 /*!
 	@struct		AVLegibleMediaOptionsMenuState
 	@abstract 	A struct describing the state of the legible options menu.
  */
 NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController.MenuState)
-API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
 typedef struct AVLegibleMediaOptionsMenuState {
 	
 	/// Whether or not the legible options menu is
@@ -79,7 +79,7 @@
 	AVLegibleMediaOptionsMenuContentsLegible = 1 << 0,
 	AVLegibleMediaOptionsMenuContentsCaptionAppearance = 1 << 1,
 	AVLegibleMediaOptionsMenuContentsAll = (AVLegibleMediaOptionsMenuContentsLegible | AVLegibleMediaOptionsMenuContentsCaptionAppearance)
-} API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController.MenuContents);
+} API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController.MenuContents);
 
 
 @protocol AVMediaOptionsControllerDelegate;
@@ -93,7 +93,7 @@
 	@abstract		A menu controller for legible media options (subtitles/captions)
 	@discussion		Supports both media track selection and caption appearance customization. When initialized without a player, only caption appearance options are available. When initialized with a player, both media tracks and caption appearance are available.
  */
-API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
 NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController)
 @interface AVLegibleMediaOptionsMenuController : NSObject
 
@@ -165,7 +165,7 @@
 	@abstract		Delegate protocol for AVLegibleMediaOptionsMenuController
 	@discussion		Provides callbacks for caption preview display and enablement state changes.
 */
-API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos, watchos)
+API_AVAILABLE(ios(26.4), macos(26.4), visionos(26.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
 NS_SWIFT_NAME(AVLegibleMediaOptionsMenuController.Delegate)
 @protocol AVLegibleMediaOptionsMenuControllerDelegate <NSObject>
 @optional
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h /Applications/Xcode_27.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_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h	2026-04-19 03:28:43
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h	2026-05-28 06:59:04
@@ -36,6 +36,7 @@
 @class AVGroupExperienceCoordinator;
 @class AVInterstitialTimeRange;
 @class AVPlaybackSpeed;
+@class AVViewport;
 
 @protocol AVPlayerViewControllerAnimationCoordinator;
 @protocol AVPlayerViewControllerDelegate;
@@ -87,6 +88,12 @@
 	@abstract	The current size and position of the video image as displayed within the receiver's view's bounds.
  */
 @property (nonatomic, readonly) CGRect videoBounds API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
+
+/*!
+	@property	viewport
+	@abstract	A configuration object that manages viewport settings for different presentation modes.
+ */
+@property (nonatomic, strong, readonly) AVViewport *viewport API_AVAILABLE(visionos(27.0)) API_UNAVAILABLE(ios, macCatalyst, tvos, watchos);
 
 /*!
 	@property	contentOverlayView

Clone this wiki locally