ellocomen
TSDThe Swift Den
•Created by ellocomen on 8/19/2023 in #swift-development
Buttons not working on SideMenuView
Hello good morning.
I am trying to make an application and in the homescreen I have a SideBar and inside several buttons.
I can not get the buttons to work. Also I get this error in console when I run it "NavigationLink presenting a value must appear inside a NavigationStack or NavigationSplitView. Link will be disabled." but I can't solve the error.
I hope you can help me
ContentView.swift:
https://pastebin.com/gbYSHPis
SideMenuView.swift
https://pastebin.com/FBvrgLmn
6 replies