Creating a popover on iPhone?

前端 未结 3 715
春和景丽
春和景丽 2021-01-29 10:19

I want to create a custom-style popover on the iphone. I want it to have an arrowhead pointing upwards. Any ideas on how I could achieve this?

3条回答
  •  孤独总比滥情好
    2021-01-29 11:09

    Create an UIView that kooks like what you want (it can be transparent backgroud with an UIImageView that is your arrow) and use an UIAnimation to make it pop (scale it little->big->little for instance). It should do the trick?

提交回复
热议问题