I need to remove some items from right-click context menu, but the toolbar does not contain a public API to access ‘toolbarView’.
Is it possible to customize the menu without using private API?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can access and modify a toolbar contextual menu when the toolbar is created, i.e. in
-[awakeFromNib]:Now you can directly edit menu items and hide or disable them.