Can UIMenuItem show UIImage?

后端 未结 3 1996
春和景丽
春和景丽 2021-01-23 11:51

I saw that it\'s possible — iBooks application does it.

Is it any way to do it?

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-23 12:28

    There is nothing in the current official API do that. UIMenuItem can only be initialised with -initWithTitle:action:

    I suspect that Apple either using a private API or have implemented a custom control. Probably the former.

    Asked previously here

提交回复
热议问题