Hello there :)
I have a UITableView where I have tableView.allowsMultipleSelection = true. This works just fine on iOS, i.e., I can select/deselect zero, one or more cells...
But on Mac Catalyst (macOS 10.15.7) I have the following problems:
1) I cannot select more than one cell. I have tried to Cmd+click and Ctrl+click but it makes no difference.
2) If I iterate over all the cells and programmatically selects them all then tableView.indexPathsForSelectedRows always returns the last selected IndexPath only.
In both cases I have checked that tableView.allowsMultipleSelection = true is still true afterwards.
This is really frustrating as I wanted to ready my app for Mac Catalyst and kinda assumed that UITableView was fully supported...
Any clues why this isn't working for me? Any workarounds?
Thanks!
Best regards,
Jens Schwarzer
I have a UITableView where I have tableView.allowsMultipleSelection = true. This works just fine on iOS, i.e., I can select/deselect zero, one or more cells...
But on Mac Catalyst (macOS 10.15.7) I have the following problems:
1) I cannot select more than one cell. I have tried to Cmd+click and Ctrl+click but it makes no difference.
2) If I iterate over all the cells and programmatically selects them all then tableView.indexPathsForSelectedRows always returns the last selected IndexPath only.
In both cases I have checked that tableView.allowsMultipleSelection = true is still true afterwards.
This is really frustrating as I wanted to ready my app for Mac Catalyst and kinda assumed that UITableView was fully supported...
Any clues why this isn't working for me? Any workarounds?
Thanks!
Best regards,
Jens Schwarzer