Remove menu items from More menu

27 views
Skip to first unread message

Randy Haid

unread,
Dec 31, 2020, 7:21:56 PM12/31/20
to PDFTron SDK
I need to remove the "Add Pages" option from the menu that appears when tapping on the "More" (...) button.  I was hoping there would be an "isHidden" property for it, but I can't seem to find it.  Any help would be greatly appreciated.  Please see screenshot for reference, thanks!

Screen Shot 2020-12-28 at 12.55.43 PM.png

David

unread,
Jan 6, 2021, 12:58:51 PM1/6/21
to PDFTron SDK
Hello,

You can hide the "Add Pages" option from the menu with the isAddPagesButtonHidden property on the PTDocumentViewController class.

Please let us know how the above works for you and if you have any other questions. Thank you.

Randy Haid

unread,
Feb 11, 2021, 3:59:20 PM2/11/21
to PDFTron SDK
This was exactly what i needed, thank you!
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages