Skip to content

Remove outdated Objective-C splash screen setup instructions#4911

Merged
Simek merged 1 commit into
react:mainfrom
joshkeldam:fix/remove-outdated-objc-splash-screen-code
Dec 4, 2025
Merged

Remove outdated Objective-C splash screen setup instructions#4911
Simek merged 1 commit into
react:mainfrom
joshkeldam:fix/remove-outdated-objc-splash-screen-code

Conversation

@joshkeldam

Copy link
Copy Markdown
Contributor

Summary

  • Removes the outdated Objective-C code snippet from the "Pro Tips" section of the "Publishing to Apple App Store" documentation
  • Updates all versioned docs (0.77-0.82) and the main docs

Motivation

Since React Native 0.71+, new projects generate AppDelegate.swift by default. The existing Objective-C code referencing AppDelegate.m and [self.window makeKeyAndVisible] is incompatible with Swift-based AppDelegate files and causes confusion for developers.

The LaunchScreen.storyboard handles splash screens automatically for most use cases. Developers experiencing the white flash issue can use community libraries like react-native-bootsplash which have proper Swift support.

Test plan

  • Verified all 7 files were updated consistently
  • Verify docs build successfully

Fixes #4770

Remove the Objective-C code snippet for handling splash screen transitions
from the "Publishing to Apple App Store" documentation.

Since React Native 0.71+, new projects generate `AppDelegate.swift` by default,
making the Objective-C code referencing `AppDelegate.m` and
`[self.window makeKeyAndVisible]` incompatible with modern projects.

The `LaunchScreen.storyboard` typically handles the splash screen automatically
for most use cases, and developers experiencing the white flash issue should
consider using community libraries like `react-native-bootsplash` which have
proper Swift support.

Fixes react#4770
@meta-cla

meta-cla Bot commented Dec 4, 2025

Copy link
Copy Markdown

Hi @joshkeldam!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@netlify

netlify Bot commented Dec 4, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 188df42
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/69317e932df78e0008c3689c
😎 Deploy Preview https://deploy-preview-4911--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla Bot added the CLA Signed label Dec 4, 2025

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @joshkeldam, thanks for the follow up on issue and providing a context for the change, LGTM! 👍

Refs:

@Simek Simek merged commit 90a9572 into react:main Dec 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Remove outdated Objective-C launch screen setup instructions

2 participants