Commit cb336e7
Guard KVC access for accessibilityCustomContent with responds(to:) (#314)
Prevent potential NSUnknownKeyException crash when value(forKey:) is
called on NSObject subclasses that don't have the
accessibilityCustomContent key and override valueForUndefinedKey: to
throw.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent fa60134 commit cb336e7
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
| |||
0 commit comments