iOS tooltip image

2019-09-06 10:47发布

I need to implement tooltip in my iOS App. I would like to use CMPopTipView but with plazn text I would like to have some image also and detect click on this tooltip and perform some action after that. Is this is not possible with CMPopTipView is there any way to do that?

标签: ios tooltip
1条回答
等我变得足够好
2楼-- · 2019-09-06 11:19

If you write app for iPad you can use UIPopoverController with custom background class via property popoverBackgroundClass to make it looks like tooltip, and also any view as content for popover.

UIPopoverController Class Reference

查看更多
登录 后发表回答