Commit 2f27e07
committed
fix(ios): guard preloadKeyboardIfNeeded with @available(iOS 26.0, *)
On iOS 26+, `[UIResponder preloadKeyboardIfNeeded]` is a private API that
causes a crash. Guard the call so it is skipped on iOS 26 and later.
Fixes: https://github.com/kirillzyusko/react-native-keyboard-controller/issues/preload-crash-ios261 parent 21a939f commit 2f27e07
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
0 commit comments