Before we all get used to the approach when in AppDelegate
we create UIWindow
and then set rootViewController
for this Window
. Sometimes when we needed to have a custom alert we can create a new UIWindow
that will be above.
Now Xcode automatically creates UIScene
and creates UIWindow
base on this scene. I would appreciate if somebody can explain in details how to use this scenes in real life and what is their major benefit from using just UIWindow
in AppDelegate
Because this article doesn't explain much