Post

Replies

Boosts

Views

Activity

Present UIMenu
Is it possible to dynamically present a UIMenu from a UIButton or UIBarButtonItem? With UIAlertController, it was possible to configure it before presentation. It could have an "Add Image" action and if an image has already been added, a "Remove Image" action. In contrast, UIMenu is fixed and its actions can't be edited before presentation. Modifying the menu just after adding/removing the image can be cumbersome if you have 3-4 such actions that depend on the app state.
5
0
5.7k
Jun ’20