How to implement UIPopover kind of functionality in iPhone?

时光毁灭记忆、已成空白 提交于 2019-12-11 04:18:10

问题


In my app i have a PieChart which has certain divisions denoting different areas or region. Every partition has its own color but there are like 10 partitions and i want to show which part shows which region. It would have been an easy task with iPad as we have UIPopover but here in iPhone i don't know what to do, so i thought if there is any suggestion any one can make. I want to PieChart be visible with the detail about each partition.

Thanks,


回答1:


Here you will find many popover controllers http://cocoacontrols.com/search?q=popover




回答2:


You need to make a UIview with tableview and imageview inside it .




回答3:


You can make your own custom Popover type control by making a UIView then adding the desired elements to it and making it as a subview or keeping this view hidden from the start then making it visible on button press.



来源:https://stackoverflow.com/questions/6742283/how-to-implement-uipopover-kind-of-functionality-in-iphone

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