r/iOSProgramming • u/thejeraldo • 17d ago
Question Side menu navigation
I am working on a 10+ year old app which has a home page with tab bar and a side menu to go to other pages. The side menu used is a custom view.
I wanted to ask how anyone has transitioned from custom side menus to standard native controls on iOS. I am looking at moving away from the custom menu and go with the controls provided by Apple. The closest I can think of is a navigation split view. Does anyone have experience using it? How is it for an app that supports iOS on regular and Duo and on iPad?
3
Upvotes
View all comments
1
u/mrdzyn 16d ago
If you can target iOS 18+, look at TabView with .tabViewStyle(.sidebarAdaptable) before going all in on NavigationSplitView. It gives you a normal tab bar on iPhone and lets it turn into a sidebar on iPad, and you can group the extra destinations from your old side menu into TabSections. NavigationSplitView is great on iPad, but on a compact iPhone it collapses into a plain stack, so it doesn't really replace a tab bar plus menu combo there. I'd sort your menu items into "top-level tab" vs "settings/secondary" first, since a lot of old hamburger menus turn out to be half settings screens.