Search code examples
iosswiftswift3uimenucontroller

Append custom UIMenuItems at the beginning of UIMenuController iOS


I have implemented a custom UIMenuController with two aditional options besides the ones that are set by default in iOS (cut, copy, look up, share). I want to keep these standard options, but I want them to appear after my two custom items, does anyone know how to achieve this in an efficient way? Thanks in advance.


Solution

  • The UIMenuController documentation says:

    Custom items appear in the menu after any system menu items.

    So there is probably no approved way around that. It appears to be baked in functionality.