- Remove the need for a Bridging Header file on React Native 0.77+:
import ReactAppDependencyProvider
import RNBootSplash // ⬅️ add this import
// …
@main
class AppDelegate: RCTAppDelegate {
// …
// ⬇️ override this method
override func customize(_ rootView: RCTRootView!) {
super.customize(rootView)
RNBootSplash.initWithStoryboard("BootSplash", rootView: rootView) // ⬅️ initialize the splash screen
}
}