Skip to content

Guard Show Borders accessibility APIs on early iOS 26.1 betas - #59705

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
javache:export-D128734438
Oct 31, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
javache:export-D128734438

Conversation

@javache

@javache javache commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Summary:
Early iOS 26.1 betas can report version 26.1 without providing the new Show Borders accessibility symbols. Check both the query function and notification variable address before using either, falling back to the UIKit Button Shapes APIs when either is absent. This prevents a crash during accessibility module initialisation and keeps the state query paired with its change notification.

Changelog:
[iOS][Fixed] - Prevent an accessibility module startup crash on early iOS 26.1 betas

Differential Revision: D128734438

Summary:
Early iOS 26.1 betas can report version 26.1 without providing the new Show Borders accessibility symbols. Check both the query function and notification variable address before using either, falling back to the UIKit Button Shapes APIs when either is absent. This prevents a crash during accessibility module initialisation and keeps the state query paired with its change notification.

Changelog:
[iOS][Fixed] - Prevent an accessibility module startup crash on early iOS 26.1 betas

Differential Revision: D128734438
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 31, 2026
@meta-codesync

meta-codesync Bot commented Oct 31, 2026

Copy link
Copy Markdown

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D128734438.

@meta-codesync
meta-codesync Bot merged commit f9855ad into react:main Oct 31, 2026
93 of 94 checks passed
@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 31, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @javache in f9855ad

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants