iOS tooltip image

一笑奈何 提交于 2019-12-25 02:45:04

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/22209027/ios-tooltip-image

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!