Ask your Question
@objc public func view(
moduleName: String,
initialProps: [AnyHashable: Any]?,
launchOptions: [AnyHashable: Any]? = nil
) -> UIView? {
reactNativeFactory?.rootViewFactory.view(
withModuleName: moduleName,
initialProperties: initialProps,
launchOptions: launchOptions
)
}
I observed that the JS bundle loading just only run after this method has been called (In the React native controller example), it took about 2s to load the entire JS bundle. Is there the way that i can load the bundle in the app start, and create the view when needed?
I'm not the native guy, so please take a look and give me some advice. Thanks!