Post

Replies

Boosts

Views

Activity

How to navigate from side menu in SwiftUI to new view
I am working on app which has home view with navigation and side menu. Side menu has 2 levels menu i.e. each menu entries has sub menu(s). Whenever user click on any side sub-menu, app should display new view but i am unable to achieve this behavior. I tried Navigation view in sub-menu but then sub-menu is broken, i also tried to navigateTo but it also did not work. This is home view which has attached side menu - HomePage View - https://developer.apple.com/forums/content/attachment/dc483053-17cc-4226-b313-20fdae61aae9 Below is side menu view, it is created based on State variable - Side menu view - https://developer.apple.com/forums/content/attachment/a87815f2-686f-4b63-9fde-844db8d22e28
2
0
752
Jan ’22