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
Share
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 …

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture