Skip to content

Accessibility macOS xcode15.0 b5

Manuel de la Pena edited this page Sep 25, 2023 · 3 revisions

#Accessibility.framework https://github.com/xamarin/xamarin-macios/pull/19098

diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h	2023-06-24 01:06:11
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXSettings.h	2023-07-15 01:24:12
@@ -10,15 +10,19 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+// Returns whether the system setting to prefer horizontal text is enabled for languages that support both vertical and horizontal text layout.
+AX_EXTERN BOOL AXPrefersHorizontalTextLayout(void) API_AVAILABLE(ios(17.0), macos(14.0), tvos(17.0), watchos(10.0));
+AX_EXTERN NSNotificationName const AXPrefersHorizontalTextLayoutDidChangeNotification API_AVAILABLE(ios(17.0), macos(14.0), tvos(17.0), watchos(10.0));
+
 // 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
+#if TARGET_OS_VISION
 // When true, indicates that the user prefers alternatives to head anchored content
 // Alternate anchors should be used for most head anchored UI, such as world anchors
-AX_EXTERN BOOL AXPrefersHeadAnchorAlternative(void) API_AVAILABLE(xros(1.0));
-AX_EXTERN NSNotificationName const AXPrefersHeadAnchorAlternativeDidChangeNotification API_AVAILABLE(xros(1.0));
+AX_EXTERN BOOL AXPrefersHeadAnchorAlternative(void) API_AVAILABLE(visionos(1.0));
+AX_EXTERN NSNotificationName const AXPrefersHeadAnchorAlternativeDidChangeNotification API_AVAILABLE(visionos(1.0));
 #endif
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally