Post

Replies

Boosts

Views

Activity

Separate Storyboard for iPhone and iPad With Multiple Windows
Hello,I have an application in which I want to use a separate storyboards for iPhone and iPad. I have this specified in Info.plist. I also now want to support iOS/iPadOS 13's multiple window feature.In order to setup multiple windows in Info.plist I have to specify a storyboard within "Application Scene Manifest". As you might expect, this now overrides my previously specified iPhone/iPad storyboard setting.Is it possible to continue using separate iPhone and iPad storyboards while still supporting multiple windows on the iPad/Mac (Catalyst) version?One way I could see overcoming this would be to create a separate target for iPhone and migrate all iPhone related data to that target however that would be quite an involved process that I would like to avoid if possible.ThanksHere is my Info.plist for reference:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleVersion</key> <string>$(CURRENT_PROJECT_VERSION)</string> <key>LSApplicationCategoryType</key> <string>public.app-category.education</string> <key>LSRequiresIPhoneOS</key> <true/> <key>UIApplicationSceneManifest</key> <dict> <key>UIApplicationSupportsMultipleScenes</key> <true/> <key>UISceneConfigurations</key> <dict> <key>UIWindowSceneSessionRoleApplication</key> <array> <dict> <key>UISceneClassName</key> <string></string> <key>UISceneConfigurationName</key> <string>Default Configuration</string> <key>UISceneDelegateClassName</key> <string>$(PRODUCT_MODULE_NAME).SceneDelegate</string> <key>UISceneStoryboardFile</key> <string>MainiPad</string> </dict> </array> </dict> </dict> <key>UIBackgroundModes</key> <array> <string>audio</string> </array> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UIMainStoryboardFile~ipad</key> <string>MainiPad</string> <key>UIMainStoryboardFile~iphone</key> <string>MainiPhone</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>UISupportedInterfaceOrientations~iphone</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> </dict> </plist>
4
0
4.3k
Mar ’20