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/Kitchen_Cable6192 15d ago
If you keep a custom drawer, I’d make it a transient overlay rather than another navigation container: one
@State isOpencan drive both the offset and a drag gesture, with theNavigationStackkept outside the drawer so you do not end up maintaining two back stacks. For a native list/detail flow,NavigationSplitViewis worth prototyping (it requires iOS 16+ and collapses to a stack on iPhone); reserveTabViewfor the destinations that really are top-level.