I'm new to the SceneDelegate setup. I notice that in info.plist, we have a mapping under Scene Configuration
:
Configuration Name: Default Configuration <- this key
Delegate Class Name: $(PRODUCT_MODULE_NAME).SceneDelegate <- this file
Then in AppDelegate's connectingSceneSession
, we return the config with the key Default Configuration
.
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
Is it possible to avoid this (key -> file)
mapping in info.plist
, and hook it up programmatically?
Note: I am not asking about storyboard. There are tons of tutorials about removing storyboard and I know that.