adding Sub menu to Context Menu in MacOS

I'm trying to put a sub menu inside the context menu using the NSExtensionFileProviderActions in info.plist. Which should look like this image below

I have been trying to use FPUIActionExtensionViewController for doing this task but I havent got any context menu like above. But still doing that does seem to complicate the task more.

Is there a simpler way to do this task, like doing it within the info.plist so I dont have to complicate the task by creating a view controller. ?

Answered by Engineer in 761371022

Sub-menus are not supported in FileProvider at this time.

As you mentioned, you could use FileProviderUI to provide additional views after clicking a top-level item, but that's not quite the same.

Please file an enhancement request in Feedback Assistant, detailing your use case.

Accepted Answer

Sub-menus are not supported in FileProvider at this time.

As you mentioned, you could use FileProviderUI to provide additional views after clicking a top-level item, but that's not quite the same.

Please file an enhancement request in Feedback Assistant, detailing your use case.

adding Sub menu to Context Menu in MacOS
 
 
Q