Andrew Bancroft 6/7/2019

Accessing the Root View Controller at Launch on iOS 13 with SceneDelegate

Read Original

This article explains how to access the root view controller at app launch in iOS 13, where Apple introduced SceneDelegate for Storyboard-based apps. It contrasts the old method using AppDelegate's didFinishLaunchingWithOptions with the new approach in SceneDelegate's scene(_:willConnectTo:options:) method. The article provides code examples for both approaches and emphasizes understanding the change rather than just copying code. It is targeted at iOS developers working with UIKit and modern app lifecycle management.

Accessing the Root View Controller at Launch on iOS 13 with SceneDelegate

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet