You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fatal error: No ObservableObject of type Keyboard found. A View.environmentObject(_:) for Keyboard may be missing as an ancestor of this view.: file SwiftUI, line 0 #24
It sounds like there isn’t a Keyboard instance in the environment. Make sure you’ve added that in your SceneDelegate (or wherever you set up you’re environment).
Here’s the link to the documentation showing how to do this.
Repository owner unlocked this conversation on May 7, 2021
Activity
github-actions commentedon May 6, 2021
Thanks for creating an issue!
wangrui460 commentedon May 6, 2021
The solution is here
nickffox commentedon May 7, 2021
This looks like a duplicate of #21.
It sounds like there isn’t a
Keyboardinstance in the environment. Make sure you’ve added that in yourSceneDelegate(or wherever you set up you’re environment).Here’s the link to the documentation showing how to do this.