From 3688fd1ba733664aa8e74f85787554c0d19d0bb1 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Mon, 21 Mar 2022 16:17:06 +1100 Subject: Switch to launch with SceneDelegate Pretty sure I'm meant to launch via SceneDelegate now, was confused by that probably due to older tutorials. Read a bit about it and it seems like it's due to multi-instance/screen support, so switched back to doing it this 'new way'. Was a bit confused but I think I deleted too much from Info.plist and got rid of the 'Default Configuration' which launches the SceneDelegate. I think we're good now though, had to reference a new template project. References: - https://sarunw.com/posts/how-to-create-new-xcode-project-without-storyboard/ --- foray/Info.plist | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'foray/Info.plist') diff --git a/foray/Info.plist b/foray/Info.plist index d790da0..0eb786d 100644 --- a/foray/Info.plist +++ b/foray/Info.plist @@ -9,7 +9,14 @@ UISceneConfigurations UIWindowSceneSessionRoleApplication - + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + + -- cgit