This is my code:
CommandGroup(before: .printItem) {
ShareLink(item: answer)
.disabled(answer.isEmpty)
}
It works fine on Mac, when selecting the share menu from Mac, it works. But when select from iPad menu bar, nothing shows up.
This is my code:
CommandGroup(before: .printItem) {
ShareLink(item: answer)
.disabled(answer.isEmpty)
}
It works fine on Mac, when selecting the share menu from Mac, it works. But when select from iPad menu bar, nothing shows up.