When I enter the following code. The screen keeps showing:Argument passed to call that takes no arguments? who can solve this?
Button(action: {
self.title = "Button #2 was pressed"
}, label: {
Text("Button")
})
Selecting any option will automatically load the page