Hello!
I solved put It
.buttonStyle(.plain)
at the the end of the NavigationLink like
`NavigationLink(destination : EmptyView()){
Text("Press here!")
}.buttonStyle(.plain)
`
Post
Replies
Boosts
Views
Activity
Hello this is a way that it works for me but in an overlay for a RoundedRectangle.
Menu {
Button("Photo Library", action: {
self.sheetForPL.toggle()
})
Button("Camera", action: {
print("Camera has been choosen")
})
} label: {
Image(systemName: "plus.circle.fill")
.symbolRenderingMode(.hierarchical)
.foregroundColor(.white)
}
.photosPicker(isPresented: $sheetForPL, selection: $imagePicker.imageSelection)