-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Labels
api-bindingsbreaking-changeIf an issue or a pull request represents a breaking changeIf an issue or a pull request represents a breaking change
Milestone
Description
The UIMenu.Identifier property is an enum which makes custom identifiers or generated ones unreachable.
If you create a new menu with the following code
var titleMenu = UIMenu.Create("Title", new UIMenuElement[0]);The titleMenu.Identifier property will be set to UIMenuIdentifier.None
That means the following code will fail
MenuBuilder
.InsertChildMenuAtStart(menuContainer, titleMenu.Identifier);In order to get the string identifier that you need to use with IUIMenuBuilder you have to retrieve it via a selector.
(NSString)titleMenu.PerformSelector(new Selector("identifier"));Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-bindingsbreaking-changeIf an issue or a pull request represents a breaking changeIf an issue or a pull request represents a breaking change
