在iPhone上创建popover? [英] Creating a popover on iPhone?

查看:112
本文介绍了在iPhone上创建popover?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iPhone上创建自定义样式的popover。我想让它有一个箭头指向上方。

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?

推荐答案

创建一个可以像你想要的那样的UIView一个UIImageView是你的箭头),并使用UIAnimation使其弹出(缩放它一点 - > big->小例如)。
它应该做什么?

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?

这篇关于在iPhone上创建popover?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆