Skip to content

[Accessibility] Update bindings up to Xcode 27 Beta 3#25984

Merged
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-accessibility
Jul 9, 2026
Merged

[Accessibility] Update bindings up to Xcode 27 Beta 3#25984
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-accessibility

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Bind the new APIs added to the Accessibility framework's AXSettings.h in Xcode 27, available on iOS, tvOS, macOS and Mac Catalyst 27.0 (API_AVAILABLE(anyappleos(27.0))):

  • AXApplicationAccessibilityEnabled () -> AXSettings.IsApplicationAccessibilityEnabled
  • AXApplicationAccessibilityEnabledDidChangeNotification -> AXSettings.ApplicationAccessibilityEnabledDidChangeNotification

Also add a monotouch-test exercising the new P/Invoke and remove the now-resolved *-Accessibility.todo xtro annotation files.

Bind the new APIs added to the Accessibility framework's AXSettings.h in
Xcode 27, available on iOS, tvOS, macOS and Mac Catalyst 27.0
(API_AVAILABLE(anyappleos(27.0))):

* AXApplicationAccessibilityEnabled () ->
  AXSettings.IsApplicationAccessibilityEnabled
* AXApplicationAccessibilityEnabledDidChangeNotification ->
  AXSettings.ApplicationAccessibilityEnabledDidChangeNotification

Also add a monotouch-test exercising the new P/Invoke and remove the
now-resolved *-Accessibility.todo xtro annotation files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Accessibility framework bindings to match new Xcode 27 Beta 3 APIs by adding a new AXSettings P/Invoke-backed property and a corresponding notification constant, plus a monotouch-test to exercise the new functionality and cleanup resolved xtro todo annotations.

Changes:

  • Add AXSettings.IsApplicationAccessibilityEnabled backed by a new AXApplicationAccessibilityEnabled native entry point (anyappleos 27.0).
  • Bind AXApplicationAccessibilityEnabledDidChangeNotification as AXSettings.ApplicationAccessibilityEnabledDidChangeNotification.
  • Add a monotouch-test for the new API and remove the resolved Accessibility xtro todo entries.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/xtro-sharpie/api-annotations-dotnet/tvOS-Accessibility.todo Removes resolved tvOS Accessibility missing-binding annotations.
tests/xtro-sharpie/api-annotations-dotnet/macOS-Accessibility.todo Removes resolved macOS Accessibility missing-binding annotations.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Accessibility.todo Removes resolved Mac Catalyst Accessibility missing-binding annotations.
tests/xtro-sharpie/api-annotations-dotnet/iOS-Accessibility.todo Removes resolved iOS Accessibility missing-binding annotations.
tests/monotouch-test/Accessibility/AXSettings.cs Adds a test exercising the new AXSettings property.
src/Accessibility/AXSettings.cs Adds the new P/Invoke and public property for application accessibility enabled state.
src/accessibility.cs Adds the new notification field binding for AXSettings.

Comment on lines +24 to +26
TestRuntime.AssertXcodeVersion (27, 0);
Assert.That (AXSettings.IsApplicationAccessibilityEnabled, Is.EqualTo (true).Or.EqualTo (false), "IsApplicationAccessibilityEnabled");
}
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #7bff6cc] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 7bff6cc4328a81c4f6dd5a2aa083f0cd321121dd [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #7bff6cc] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 7bff6cc4328a81c4f6dd5a2aa083f0cd321121dd [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 7bff6cc4328a81c4f6dd5a2aa083f0cd321121dd [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #7bff6cc] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 7bff6cc4328a81c4f6dd5a2aa083f0cd321121dd [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #7bff6cc] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

1 tests crashed, 0 tests failed, 191 tests passed.

Failures

❌ Tests on macOS Golden Gate (27) tests

🔥 Failed catastrophically on VSTS: test results - mac_golden_gate (no summary found).

Html Report (VSDrops) Download

Successes

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 17 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 18 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 7bff6cc4328a81c4f6dd5a2aa083f0cd321121dd [PR build]

@dalexsoto dalexsoto merged commit c4f67e9 into xcode27.0 Jul 9, 2026
56 checks passed
@dalexsoto dalexsoto deleted the dev/alex/xc27-accessibility branch July 9, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants