DevTechie
Published in

DevTechie

New in SwiftUI 4: NavigationSplitView

Photo by Niklas Jonasson on Unsplash

Another new addition introduced in SwiftUI 4, as a part of Navigation API is NavigationSplitView.

NavigationSplitView is a view that presents views in two or three column layout, selections in leading columns controls the presentation in subsequent columns.

We can create a split view with two or three column layout, we will start with two column layout first.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store