diff --git a/splash-screen/ios/Plugin/SplashScreen.swift b/splash-screen/ios/Plugin/SplashScreen.swift index 9f7223c45..a94864c48 100644 --- a/splash-screen/ios/Plugin/SplashScreen.swift +++ b/splash-screen/ios/Plugin/SplashScreen.swift @@ -88,7 +88,8 @@ import Capacitor } private func buildViews() { - if let vc = UIStoryboard(name: "LaunchScreen", bundle: nil).instantiateInitialViewController() { + let storyboardName = Bundle.main.infoDictionary?["UILaunchStoryboardName"] as? String ?? "LaunchScreen" + if let vc = UIStoryboard(name: storyboardName, bundle: nil).instantiateInitialViewController() { viewController = vc }