Post

Replies

Boosts

Views

Activity

Comment on What's the best way to create a fully dynamic UIMenu for a UIButton or UIBarButtonItem?
I see now that it is the same signature as init. Here is an example. let deferredMenuElement = UIDeferredMenuElement.uncached { completion in let action = UIAction(title: "Title", handler: { _ in }) completion([action]) }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on What's the best way to create a fully dynamic UIMenu for a UIButton or UIBarButtonItem?
Would anyone be able to briefly describe how to use this? It is undocumented and there are only four or five web search results for elementWithUncachedProvider, none useful.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’22