I have an ActionSheet and I don't know how to make navigation to another view from the action sheet callback button.
let action = ActionSheet.Button.cancel {
//navigation???
}
ActionSheet(title: Text("some title"), buttons: [action])
I.E: I would like to have this as a chooser when selecting images from different sources: camera or camera roll.