UIMenuBuilder add menus next to "Open Recent"

Hi,

I would like to add commands directly next to "Open Recent" UIMenuOpenRecent such that they are in the same inline menu and not separated by separators (so for instance, an "Open" and "New" directly next to "Open Recent" in the same menu group like many apps.)

I have tried inserting a sibling menu with insertSiblingMenu, which seems to work for getting the menus in the same menu group, but this seems to ignore the UIMenuOptionsDisplayInline and those menus are displayed as submenus. I have also tried using replaceChildrenOfMenuForIdentifier which I've seen used to extend existing inline system menus, but the current children for UIMenuOpenRecent always is nil and this also does not appear to work. Does anyone have any advice on how to achieve this?

Thanks so much!

UIMenuBuilder add menus next to "Open Recent"
 
 
Q