UITableView context menus do not work in Mac Catalyst

Does anybody have context menus working via Mac Catalyst? I implemented the UITableViewDelegate method


- (UIContextMenuConfiguration *)tableView:(UITableView *)tableView contextMenuConfigurationForRowAtIndexPath:(NSIndexPath *)indexPath point:(CGPoint)point API_AVAILABLE(ios(13.0), macCatalyst(13.0))


and it works fine on iOS 13.1.3, but it does not have any effect when the app is compiled for macOS via Mac Catalyst.


This is with Xcode 11.1 (11A1027) on macOS 10.15.1 Beta (19B77a). Xcode 11.2 beta 2 (11B44) behaves the same.


Regards,

Markus

Accepted Reply

Insight: It does not work by long-pressing the left mouse button, but it *does* work by clicking the right mouse button.

Replies

Insight: It does not work by long-pressing the left mouse button, but it *does* work by clicking the right mouse button.