Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个附加了 UIMenu 的 UIButton,我需要知道 UIMenu 何时被解除(通过在 UIMenu 外部点击),以便我可以删除 UIMenu 附加到的按钮。
我已经看到有 UIMenuController 的通知,但那是不同的。
编辑:这里有一些附加信息,因为这个问题与另一个问题有关。
我不在乎 UIMenu 何时被调用,我只关心它何时被解除