-
Notifications
You must be signed in to change notification settings - Fork 24.6k
How to get root view (AppDelegate.swift)? #50758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.77.2. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
I have to do this -
|
What do you want to do? You don't need to do all that stuff. ReactNative 0.77 comes with a If you want to customise the background color, can override the |
Description
How we can get root view in new architecture where we are using AppDelegate.swift file.
Steps to reproduce
Just create a project ant try to get root view.
React Native Version
0.77.1
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: