Repository navigation
Commit f9855ad
authored
Guard Show Borders accessibility APIs on early iOS 26.1 betas
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
Pull Request resolved: #597051 parent e57dcb3 commit f9855ad
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments