Type Safely

Type Safely

Navigate on Old and New iOS Versions With NavigationContainer

Daily Coding Tip 267

Type Safely's avatar
Type Safely
Mar 15, 2023
∙ Paid
person touching smartphone
Photo by Sebastian Hietsch on Unsplash

Here’s a quick thing I did to make the disparity with iOS 16 and older versions less annoying.

Currently every time I want to create a NavigationStack I get a warning that says this is only available in iOS 16. This gives me the option of creating an if #available(iOS 16, *) block around the NavigationStack, causing …

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture