How to allow landscape for single screen in your UIKit app
A guide to enabling landscape orientation for a single screen (like a gallery) in a UIKit iOS app while keeping the rest of the app portrait-only.
A guide to enabling landscape orientation for a single screen (like a gallery) in a UIKit iOS app while keeping the rest of the app portrait-only.
Explains why launchOptions is nil in iOS 13's AppDelegate and provides the correct solution using SceneDelegate.
Guide on accessing root view controller in iOS 13 apps using SceneDelegate instead of AppDelegate.
A guide to preventing unit tests from loading the main AppDelegate in Swift, improving test speed and isolation.
Quick Swift snippets for accessing sub-controllers from a UINavigationController in AppDelegate or prepareForSegue.
Quick Swift snippets for accessing sub-controllers from a UINavigationController in AppDelegate or prepareForSegue.