Improve iPad Sidebar Navigation on the iPhone With SwiftUI

Use the power of tab view for navigation

Kristaps Grinbergs
Better Programming
Published in
4 min readNov 22, 2021

--

Photo by Xiong Yan on Unsplash.

We learned how to add a sidebar for an iPad in the previous blog post, but that approach isn’t that great for an iPhone.

It looks pretty weird, and once we configure a default view, it automatically navigates to it once iPhone app starts. This isn’t great on a phone but…

--

--

Blockchain, mobile and fullstack developer. Startup founder. Conference speaker. Mentor. Passionate about building products, sustainability and Web 3.0.