We want to remove flatten and copy buttons from the menu toolbar on annotation selection. For that, we have followed your PDFTron approach.
It is working fine for the English language but how can we handle it for other localized languages?
Hi there,
The best approach to remove menu items that isn’t affected by localization is to check the action of the UIMenuItem against a known selector. The actions for the “Flatten” and “Copy” menu items aren’t currently part of the public API, but we have exposed them for you - the next experimental nightly build of the iOS SDK will have these selector-actions:
Great, we’re glad to hear this is working for you.
As always please get in touch with any other questions or issues and we will try to help in any way we can.