-
Notifications
You must be signed in to change notification settings - Fork 507
Accessibility iOS xcode15.0 b1
Manuel de la Pena edited this page Aug 5, 2023
·
3 revisions
#Accessibility.framework https://github.com/xamarin/xamarin-macios/pull/18643
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXCustomContent.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXCustomContent.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXCustomContent.h 2023-03-09 23:54:44
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXCustomContent.h 2023-05-19 20:56:31
@@ -51,6 +51,12 @@
API_AVAILABLE(ios(14.0), tvos(14.0), watchos(7.0), macos(11.0))
@protocol AXCustomContentProvider <NSObject>
@property (nonatomic, copy, null_resettable) NSArray<AXCustomContent *> *accessibilityCustomContent;
+
+// The block based setter takes precedence over the single line setter and property override.
+// The return type for the block must be a pointer to an AXCustomContent instance.
+typedef NSArray<AXCustomContent *> *_Nullable(^AXCustomContentReturnBlock)(void);
+@optional
+@property (nonatomic, copy, nullable) AXCustomContentReturnBlock accessibilityCustomContentBlock API_AVAILABLE(ios(17.0), tvos(17.0), watchos(10.0), macos(14.0));
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h 2023-05-19 20:56:31
@@ -0,0 +1,24 @@
+//
+// AXSettings.h
+// Accessibility
+//
+// Copyright © 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <Accessibility/AXFoundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+// Returns whether the system setting for displaying animations in an animated image is on or off.
+AX_EXTERN BOOL AXAnimatedImagesEnabled(void) API_AVAILABLE(ios(17.0), macos(14.0), tvos(17.0), watchos(10.0));
+AX_EXTERN NSNotificationName const AXAnimatedImagesEnabledDidChangeNotification API_AVAILABLE(ios(17.0), macos(14.0), tvos(17.0), watchos(10.0));
+
+#if TARGET_OS_XR
+// When true, indicates that the user prefers alternatives to camera anchored content
+// Alternate anchors should be used for most camera anchored UI, such as world anchors
+AX_EXTERN BOOL AXPrefersCameraAnchorAlternative(void) API_AVAILABLE(xros(1.0));
+AX_EXTERN NSNotificationName const AXPrefersCameraAnchorAlternativeDidChangeNotification API_AVAILABLE(xros(1.0));
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h 2023-03-04 19:21:54
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h 2023-05-19 20:56:31
@@ -11,3 +11,4 @@
#import <Accessibility/AXColorUtilities.h>
#import <Accessibility/AXCustomContent.h>
#import <Accessibility/AXHearingUtilities.h>
+#import <Accessibility/AXSettings.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status