Skip to content

UIKit tvOS xcode15.1 b2

Alex Soto edited this page Jan 3, 2024 · 2 revisions

#UIKit.framework https://github.com/xamarin/xamarin-macios/pull/19717

diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffectLayer.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffectLayer.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffectLayer.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffectLayer.h	2023-10-15 22:46:09
@@ -0,0 +1,74 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UIHoverEffectLayer.h>)
+//
+//  UIHoverEffectLayer.h
+//  UIKit
+//
+//  Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <UIKit/UIHoverStyle.h>
+#import <UIKit/UIView.h>
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+/// A layer type that can be used to apply a hover effect to its sublayers.
+///
+/// This layer type is useful for adding hover effects to an existing
+/// ``CALayer`` hierarchy. Where possible, use ``UIView.hoverStyle`` instead.
+///
+/// A ``UIHoverEffectLayer`` is configured with:
+///
+/// 1. A container ``UIView``, which is used to infer some properties of the
+///    hover effect from its trait collection and to allow some aspects of the
+///    hover effect to behave correctly. This view's layer should be an ancestor
+///    layer of the ``UIHoverEffectLayer``.
+/// 2. A ``UIHoverStyle``, which describes the effect to use and the shape of
+///    that effect. You then add your content layers that should receive a hover
+///    effect as sublayers of this layer.
+///
+/// ``UIHoverEffectLayer`` may add its own internal sublayers as background or
+/// overlay layers relative to your content sublayers. To preserve the correct
+/// appearance of the effect, these internal sublayers are automatically sorted
+/// accordingly within the layer's layout pass. As such, do not assume that the
+/// indices of your content sublayers will remain stable throughout the lifetime
+/// of the layer.
+///
+/// - Note: Not all ``UIHoverStyle``s may be supported by
+///   ``UIHoverEffectLayer``. If the provided style is not supported, a fallback
+///   style will be selected instead.
+UIKIT_EXTERN API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
+@interface UIHoverEffectLayer: CALayer
+
+/// The hover style to apply to the sublayers of this layer when this layer
+/// is hovered (e.g., when the user looks at this layer). Defaults to the
+/// automatic style.
+///
+/// - Note: Not all ``UIHoverStyle``s may be supported by
+///   ``UIHoverEffectLayer``. If the provided style is not supported, a fallback
+///   style will be selected instead.
+@property (nonatomic, copy) UIHoverStyle *hoverStyle;
+
+/// The ``UIView`` in which this layer is contained. This view is used to
+/// derive traits and other properties for applying the correct hover effect
+/// to the layer. It may also be used to assist with applying some kinds of
+/// hover effects to the layer.
+///
+/// The ``containerView`` should be an ancestor of this layer (once it has
+/// been added to a layer hierarchy) to behave correctly, but does not need
+/// to be the immediate parent of this layer. If the ``containerView`` is
+/// set to nil or is deallocated, some aspects of this layer's hover effect
+/// may no longer work correctly.
+@property (nonatomic, weak, nullable) UIView *containerView;
+
+/// Creates a ``UIHoverEffectLayer`` with the provided `containerView`
+/// and `style`. If a `nil` `style` is provided, the automatic style will
+/// be used instead.
+- (instancetype)initWithContainerView:(UIView *)containerView style:(nullable UIHoverStyle *)style;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UIHoverEffectLayer.h>
+#endif
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h	2023-08-19 22:29:52
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h	2023-09-26 23:52:23
@@ -17,7 +17,7 @@
 
 typedef NS_ENUM(NSInteger, UIImagePickerControllerSourceType) {
     UIImagePickerControllerSourceTypePhotoLibrary API_DEPRECATED("Will be removed in a future release, use PHPicker.", ios(2, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)),
-    UIImagePickerControllerSourceTypeCamera,
+    UIImagePickerControllerSourceTypeCamera API_UNAVAILABLE(visionos),
     UIImagePickerControllerSourceTypeSavedPhotosAlbum API_DEPRECATED("Will be removed in a future release, use PHPicker.", ios(2, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)),
 } API_UNAVAILABLE(tvos);
 
@@ -28,23 +28,23 @@
     UIImagePickerControllerQualityType640x480 API_AVAILABLE(ios(4.0)) = 3,    // VGA quality
     UIImagePickerControllerQualityTypeIFrame1280x720 API_AVAILABLE(ios(5.0)) = 4,
     UIImagePickerControllerQualityTypeIFrame960x540 API_AVAILABLE(ios(5.0)) = 5,
-} API_UNAVAILABLE(tvos);
+} API_UNAVAILABLE(tvos, visionos);
 
 typedef NS_ENUM(NSInteger, UIImagePickerControllerCameraCaptureMode) {
     UIImagePickerControllerCameraCaptureModePhoto,
     UIImagePickerControllerCameraCaptureModeVideo
-} API_UNAVAILABLE(tvos);
+} API_UNAVAILABLE(tvos, visionos);
 
 typedef NS_ENUM(NSInteger, UIImagePickerControllerCameraDevice) {
     UIImagePickerControllerCameraDeviceRear,
     UIImagePickerControllerCameraDeviceFront
-} API_UNAVAILABLE(tvos);
+} API_UNAVAILABLE(tvos, visionos);
 
 typedef NS_ENUM(NSInteger, UIImagePickerControllerCameraFlashMode) {
     UIImagePickerControllerCameraFlashModeOff  = -1,
     UIImagePickerControllerCameraFlashModeAuto = 0,
     UIImagePickerControllerCameraFlashModeOn   = 1
-} API_UNAVAILABLE(tvos);
+} API_UNAVAILABLE(tvos, visionos);
 
 typedef NS_ENUM(NSInteger, UIImagePickerControllerImageURLExportPreset) {
     UIImagePickerControllerImageURLExportPresetCompatible = 0,
@@ -71,9 +71,9 @@
 + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType;                 // returns YES if source is available (i.e. camera present)
 + (nullable NSArray<NSString *> *)availableMediaTypesForSourceType:(UIImagePickerControllerSourceType)sourceType; // returns array of available media types (i.e. kUTTypeImage)
 
-+ (BOOL)isCameraDeviceAvailable:(UIImagePickerControllerCameraDevice)cameraDevice                   API_AVAILABLE(ios(4.0)); // returns YES if camera device is available 
-+ (BOOL)isFlashAvailableForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice           API_AVAILABLE(ios(4.0)); // returns YES if camera device supports flash and torch.
-+ (nullable NSArray<NSNumber *> *)availableCaptureModesForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice API_AVAILABLE(ios(4.0)); // returns array of NSNumbers (UIImagePickerControllerCameraCaptureMode)
++ (BOOL)isCameraDeviceAvailable:(UIImagePickerControllerCameraDevice)cameraDevice                   API_UNAVAILABLE(visionos) API_AVAILABLE(ios(4.0)); // returns YES if camera device is available
++ (BOOL)isFlashAvailableForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice           API_UNAVAILABLE(visionos) API_AVAILABLE(ios(4.0)); // returns YES if camera device supports flash and torch.
++ (nullable NSArray<NSNumber *> *)availableCaptureModesForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice API_UNAVAILABLE(visionos) API_AVAILABLE(ios(4.0)); // returns array of NSNumbers (UIImagePickerControllerCameraCaptureMode)
 
 @property(nullable,nonatomic,weak)      id <UINavigationControllerDelegate, UIImagePickerControllerDelegate> delegate;
 
@@ -85,26 +85,26 @@
 @property(nonatomic)           UIImagePickerControllerImageURLExportPreset imageExportPreset API_DEPRECATED("Will be removed in a future release, use PHPicker.", ios(11.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED));  // default value is UIImagePickerControllerImageExportPresetCompatible.
 
 // video properties apply only if mediaTypes includes kUTTypeMovie
-@property(nonatomic)           NSTimeInterval                        videoMaximumDuration API_AVAILABLE(ios(3.1)); // default value is 10 minutes.
-@property(nonatomic)           UIImagePickerControllerQualityType    videoQuality API_AVAILABLE(ios(3.1));         // default value is UIImagePickerControllerQualityTypeMedium. If the cameraDevice does not support the videoQuality, it will use the default value.
+@property(nonatomic)           NSTimeInterval                        videoMaximumDuration API_AVAILABLE(ios(3.1)) API_UNAVAILABLE(visionos); // default value is 10 minutes.
+@property(nonatomic)           UIImagePickerControllerQualityType    videoQuality API_AVAILABLE(ios(3.1)) API_UNAVAILABLE(visionos);         // default value is UIImagePickerControllerQualityTypeMedium. If the cameraDevice does not support the videoQuality, it will use the default value.
 @property(nonatomic, copy)     NSString                              *videoExportPreset API_DEPRECATED("Will be removed in a future release, use PHPicker.", ios(11.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED));  // videoExportPreset can be used to specify the transcoding quality for videos (via a AVAssetExportPreset* string). If the value is nil (the default) then the transcodeQuality is determined by videoQuality instead. Not valid if the source type is UIImagePickerControllerSourceTypeCamera
 
 
 // camera additions available only if sourceType is UIImagePickerControllerSourceTypeCamera.
-@property(nonatomic)           BOOL                                  showsCameraControls API_AVAILABLE(ios(3.1));   // set to NO to hide all standard camera UI. default is YES
-@property(nullable, nonatomic,strong) __kindof UIView                *cameraOverlayView  API_AVAILABLE(ios(3.1));   // set a view to overlay the preview view.
-@property(nonatomic)           CGAffineTransform                     cameraViewTransform API_AVAILABLE(ios(3.1));   // set the transform of the preview view.
+@property(nonatomic)           BOOL                                  showsCameraControls API_AVAILABLE(ios(3.1)) API_UNAVAILABLE(visionos);   // set to NO to hide all standard camera UI. default is YES
+@property(nullable, nonatomic,strong) __kindof UIView                *cameraOverlayView  API_AVAILABLE(ios(3.1)) API_UNAVAILABLE(visionos);   // set a view to overlay the preview view.
+@property(nonatomic)           CGAffineTransform                     cameraViewTransform API_AVAILABLE(ios(3.1)) API_UNAVAILABLE(visionos);   // set the transform of the preview view.
 
-- (void)takePicture API_AVAILABLE(ios(3.1));                                                   
+- (void)takePicture API_AVAILABLE(ios(3.1)) API_UNAVAILABLE(visionos);
 // programmatically initiates still image capture. ignored if image capture is in-flight.
 // clients can initiate additional captures after receiving -imagePickerController:didFinishPickingMediaWithInfo: delegate callback
 
-- (BOOL)startVideoCapture API_AVAILABLE(ios(4.0));
-- (void)stopVideoCapture  API_AVAILABLE(ios(4.0));
+- (BOOL)startVideoCapture API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(visionos);
+- (void)stopVideoCapture  API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(visionos);
 
-@property(nonatomic) UIImagePickerControllerCameraCaptureMode cameraCaptureMode API_AVAILABLE(ios(4.0)); // default is UIImagePickerControllerCameraCaptureModePhoto
-@property(nonatomic) UIImagePickerControllerCameraDevice      cameraDevice      API_AVAILABLE(ios(4.0)); // default is UIImagePickerControllerCameraDeviceRear
-@property(nonatomic) UIImagePickerControllerCameraFlashMode   cameraFlashMode   API_AVAILABLE(ios(4.0)); // default is UIImagePickerControllerCameraFlashModeAuto. 
+@property(nonatomic) UIImagePickerControllerCameraCaptureMode cameraCaptureMode API_UNAVAILABLE(visionos) API_AVAILABLE(ios(4.0)); // default is UIImagePickerControllerCameraCaptureModePhoto
+@property(nonatomic) UIImagePickerControllerCameraDevice      cameraDevice      API_UNAVAILABLE(visionos) API_AVAILABLE(ios(4.0)); // default is UIImagePickerControllerCameraDeviceRear
+@property(nonatomic) UIImagePickerControllerCameraFlashMode   cameraFlashMode   API_UNAVAILABLE(visionos) API_AVAILABLE(ios(4.0)); // default is UIImagePickerControllerCameraFlashModeAuto.
 // cameraFlashMode controls the still-image flash when cameraCaptureMode is Photo. cameraFlashMode controls the video torch when cameraCaptureMode is Video.
 
 @end
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2023-08-19 22:39:04
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2023-09-27 00:02:33
@@ -994,6 +994,8 @@
   - Name: 'systemTraitsAffectingImageLookup'
     PropertyKind: Class
     SwiftPrivate: true
+  - Name: 'typesettingLanguage'
+    SwiftPrivate: true
   Methods:
   - Selector: 'performAsCurrentTraitCollection:'
     MethodKind: Instance
@@ -1037,6 +1039,9 @@
   - Selector: 'changedTraitsFromTraitCollection:'
     MethodKind: Instance
     SwiftPrivate: true
+  - Selector: 'traitCollectionWithTypesettingLanguage:'
+    MethodKind: Class
+    SwiftPrivate: true
 - Name: UIFontPickerViewControllerConfiguration
   SwiftName: UIFontPickerViewController.Configuration
 - Name: UIImage
@@ -1216,8 +1221,6 @@
   - Name: tagIdentifier
     PropertyKind: Instance
     SwiftPrivate: true
-- Name: UITextItemContentType
-  SwiftPrivate: true
 - Name: UITextItemMenuPreview
   SwiftPrivate: true
 - Name: UITextItemMenuConfiguration
@@ -2007,6 +2010,8 @@
   SwiftName: UIScene.ActivationState
 - Name: UIWindowSceneDismissalAnimation
   SwiftName: UIWindowScene.DismissalAnimation
+- Name: UITextItemContentType
+  SwiftPrivate: true
 Typedefs:
 - Name: NSTextListMarkerFormat
   SwiftName: NSTextList.MarkerFormat
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2023-08-08 00:13:27
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2023-10-15 22:45:53
@@ -118,6 +118,7 @@
 #import <UIKit/UIFocusDebugger.h>
 #import <UIKit/UIFocusMovementHint.h>
 #import <UIKit/UIHoverEffect.h>
+#import <UIKit/UIHoverEffectLayer.h>
 #import <UIKit/UIHoverStyle.h>
 #import <UIKit/UIShape.h>
 #import <UIKit/UIHoverGestureRecognizer.h>
@@ -305,9 +306,6 @@
 #import <UIKit/UIWindowSceneGeometryPreferencesMac.h>
 #import <UIKit/UIWindowSceneGeometryPreferencesIOS.h>
 #import <UIKit/UIWindowSceneGeometryPreferencesVision.h>
-#if __has_include(<UIKit/UIWindowSceneGeometryPreferencesReality.h>)
-#import <UIKit/UIWindowSceneGeometryPreferencesReality.h>
-#endif
 #import <UIKit/UIWindowScenePlacement.h>
 #import <UIKit/UIWindowSceneStandardPlacement.h>
 #import <UIKit/UIWindowSceneProminentPlacement.h>
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h	2023-08-19 22:29:51
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h	2023-10-18 01:24:50
@@ -133,18 +133,18 @@
 
 // Called and presented when object becomes first responder.  Goes up the responder chain.
 @property (nullable, nonatomic, readonly, strong) __kindof UIView *inputView API_AVAILABLE(ios(3.2));
-@property (nullable, nonatomic, readonly, strong) __kindof UIView *inputAccessoryView API_AVAILABLE(ios(3.2));
+@property (nullable, nonatomic, readonly, strong) __kindof UIView *inputAccessoryView API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(visionos);
 
 /// This method is for clients that wish to put buttons on the Shortcuts Bar, shown on top of the keyboard.
 /// You may modify the returned inputAssistantItem to add to or replace the existing items on the bar.
 /// Modifications made to the returned UITextInputAssistantItem are reflected automatically.
 /// This method should not be overridden. Goes up the responder chain.
-@property (nonnull, nonatomic, readonly, strong) UITextInputAssistantItem *inputAssistantItem API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
+@property (nonnull, nonatomic, readonly, strong) UITextInputAssistantItem *inputAssistantItem API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 
 // For viewController equivalents of -inputView and -inputAccessoryView
 // Called and presented when object becomes first responder.  Goes up the responder chain.
 @property (nullable, nonatomic, readonly, strong) UIInputViewController *inputViewController API_AVAILABLE(ios(8.0));
-@property (nullable, nonatomic, readonly, strong) UIInputViewController *inputAccessoryViewController API_AVAILABLE(ios(8.0));
+@property (nullable, nonatomic, readonly, strong) UIInputViewController *inputAccessoryViewController API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(visionos);
 
 /* When queried, returns the current UITextInputMode, from which the keyboard language can be determined.
  * When overridden it should return a previously-queried UITextInputMode object, which will attempt to be
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h	2023-08-23 00:27:48
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h	2023-10-15 22:46:06
@@ -71,7 +71,7 @@
 @property(nonatomic,readonly) UIEdgeInsets overscanCompensationInsets API_AVAILABLE(ios(9.0));  // The amount that should be inset to avoid clipping
 
 @property(nullable, nonatomic,readonly,strong) UIScreen *mirroredScreen API_AVAILABLE(ios(4.3));          // The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring
-@property(nonatomic,readonly,getter=isCaptured) BOOL captured API_AVAILABLE(ios(11.0)); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
+@property(nonatomic,readonly,getter=isCaptured) BOOL captured API_DEPRECATED("Use the sceneCaptureState in UITraitCollection instead.", ios(11.0, API_TO_BE_DEPRECATED)); // True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.)
 
 @property(nonatomic) CGFloat brightness API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.
 @property(nonatomic) BOOL wantsSoftwareDimming API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos); // Default is NO. If YES, brightness levels lower than that of which the hardware is capable are emulated in software, if necessary. Having enabled may entail performance cost.
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h	2023-08-07 23:51:24
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h	2023-10-16 01:07:30
@@ -71,7 +71,7 @@
 /// Use this method to modify the contents of the Unified Content Bar, shown on top of the keyboard when search is engaged.
 /// You may modify the returned inputAssistantItem to add to or replace the existing items on the bar.
 /// Modifications made to the returned UITextInputAssistantItem are reflected automatically.
-@property (nonatomic, readonly, strong) UITextInputAssistantItem *inputAssistantItem API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
+@property (nonatomic, readonly, strong) UITextInputAssistantItem *inputAssistantItem API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos);
 
 /*
  The behavior of tintColor for bars has changed on iOS 7.0. It no longer affects the bar's background
@@ -111,7 +111,7 @@
 
 /* Allow placement of an input accessory view to the keyboard for the search bar
  */
-@property (nullable, nonatomic, readwrite, strong) UIView *inputAccessoryView;
+@property (nullable, nonatomic, readwrite, strong) UIView *inputAccessoryView API_UNAVAILABLE(visionos);
 
 /// When set to false, user interaction will be prevented and the search bar will take on a disabled appearance
 /// If the search bar is associated with a UINavigationItem with `UINavigationItemSearchBarPlacementInline`,
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h	2023-08-23 00:27:48
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h	2023-10-18 01:24:54
@@ -63,7 +63,7 @@
     UITableViewRowActionStyleDefault = 0,
     UITableViewRowActionStyleDestructive = UITableViewRowActionStyleDefault,
     UITableViewRowActionStyleNormal
-} API_DEPRECATED("Use UIContextualAction and related APIs instead.", ios(8.0, 13.0)) API_UNAVAILABLE(tvos);
+} API_DEPRECATED("Use UIContextualAction and related APIs instead.", ios(8.0, 13.0), visionos(1.0, 1.0)) API_UNAVAILABLE(tvos);
 
 UIKIT_EXTERN API_DEPRECATED("Use UIContextualAction and related APIs instead.", ios(8.0, 13.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos) NS_SWIFT_UI_ACTOR
 @interface UITableViewRowAction : NSObject <NSCopying>
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h	2023-08-07 23:49:07
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h	2023-10-18 00:45:28
@@ -105,7 +105,7 @@
 // Presented when object becomes first responder.  If set to nil, reverts to following responder chain.  If
 // set while first responder, will not take effect until reloadInputViews is called.
 @property (nullable, readwrite, strong) UIView *inputView;             
-@property (nullable, readwrite, strong) UIView *inputAccessoryView;
+@property (nullable, readwrite, strong) UIView *inputAccessoryView API_UNAVAILABLE(visionos);
 
 @property(nonatomic) BOOL clearsOnInsertion API_AVAILABLE(ios(6.0)); // defaults to NO. if YES, the selection UI is hidden, and inserting text will replace the contents of the field. changing the selection will automatically set this to NO.
 
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h	2023-08-19 22:29:51
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h	2023-10-15 22:33:12
@@ -81,7 +81,7 @@
 
 @end
 
-UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
+UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) API_UNAVAILABLE(visionos) NS_SWIFT_UI_ACTOR
 @interface UITextInputAssistantItem : NSObject
 
 /// Default is YES, controls if the user is allowed to hide the shortcuts bar. Does not influence the built in auto-hiding logic.
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h	2023-08-07 23:49:11
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h	2023-10-15 22:46:09
@@ -10,7 +10,7 @@
 
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 
-UIKIT_EXTERN API_AVAILABLE(ios(17.0)) NS_SWIFT_UI_ACTOR
+UIKIT_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(visionos) NS_SWIFT_UI_ACTOR
 @interface UITextLoupeSession : NSObject
 
 /// Begins a loupe session at the specified point. The system will animate the presentation of the loupe, as well as its position and hierarchy.
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h	2023-08-07 23:49:12
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h	2023-10-15 22:33:20
@@ -155,7 +155,7 @@
 // Presented when object becomes first responder.  If set to nil, reverts to following responder chain.  If
 // set while first responder, will not take effect until reloadInputViews is called.
 @property (nullable, readwrite, strong) UIView *inputView;             
-@property (nullable, readwrite, strong) UIView *inputAccessoryView;
+@property (nullable, readwrite, strong) UIView *inputAccessoryView API_UNAVAILABLE(visionos);
 
 @property(nonatomic) BOOL clearsOnInsertion API_AVAILABLE(ios(6.0)); // defaults to NO. if YES, the selection UI is hidden, and inserting text will replace the contents of the field. changing the selection will automatically set this to NO.
 
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h	2023-08-07 23:49:09
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h	2023-10-15 22:46:07
@@ -24,7 +24,7 @@
 
 @property(nonatomic, copy)     NSString                              *videoPath;
 @property(nonatomic)           NSTimeInterval                        videoMaximumDuration; // default value is 10 minutes. set to 0 to specify no maximum duration.
-@property(nonatomic)           UIImagePickerControllerQualityType    videoQuality;         // default value is UIImagePickerControllerQualityTypeMedium
+@property(nonatomic)           UIImagePickerControllerQualityType    videoQuality API_UNAVAILABLE(visionos);         // default value is UIImagePickerControllerQualityTypeMedium
 
 @end
 
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h	2023-08-07 23:51:31
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h	2023-10-15 22:46:11
@@ -731,9 +731,9 @@
     UIPreviewActionStyleDefault=0,
     UIPreviewActionStyleSelected,
     UIPreviewActionStyleDestructive,
-} API_AVAILABLE(ios(9.0));
+} API_DEPRECATED("Please use UIContextMenuInteraction.", ios(9.0, 17.1));
 
-UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_DEPRECATED("Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos) NS_SWIFT_UI_ACTOR
+UIKIT_EXTERN API_DEPRECATED("Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos) NS_SWIFT_UI_ACTOR
 @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
 
 @property(nonatomic, copy, readonly) void (^handler)(id<UIPreviewActionItem> action, UIViewController *previewViewController);
@@ -742,7 +742,7 @@
 
 @end
 
-UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_DEPRECATED("Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos) NS_SWIFT_UI_ACTOR
+UIKIT_EXTERN API_DEPRECATED("Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos) NS_SWIFT_UI_ACTOR
 @interface UIPreviewActionGroup : NSObject <NSCopying,UIPreviewActionItem>
 + (instancetype)actionGroupWithTitle:(NSString *)title style:(UIPreviewActionStyle)style actions:(NSArray<UIPreviewAction *> *)actions;
 @end
Clone this wiki locally