Post

Replies

Boosts

Views

Activity

Comment on After iOS 15 app skips Splash Screen
These changes are helpful in case you are using react-native and SceneDelegate. So you have to take RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:nil]; and RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"..." initialProperties:nil]; from AppDelegate.m and use them on SceneDelegate.m inside 'willConnectToSession' in order to initialise 'RTCBridge' and use the 'rootView' in order to set the 'self.window.rootViewController'. Also you have to take the 'RCTBridgeDelegate' from AppDelegate.h @interface and add to SceneDelegate.h @interface. And at last you have to transfer the (NSURL *)sourceURLForBridge:(RCTBridge *)bridge method from AppDelegate.m to SceneDelegate.m
Jan ’22