适用于iOS的自定义UIActionSheet [英] Custom UIActionSheet for iOS

查看:124
本文介绍了适用于iOS的自定义UIActionSheet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以创建一个类似于iOS所附图片的操作表?

Is it possible to create an action sheet that looks like the attached image for iOS?

这是iOS6上照片"应用的屏幕截图,当您按下操作按钮时.我真的很喜欢选项作为图标列出的方式,而不是带有标题的水平按钮.

This is the screenshot from the Photo app on iOS6, when you press the action button. I really like the way the options are listed as their icons, rather than horizontal buttons with titles.

我浏览了Google,也浏览了苹果的 iOS参考,但似乎找不到任何教我如何为我的应用创建类似内容的东西.

I looked through Google and also in Apple's iOS reference but I can't seem to find anything that teaches me how to create something like this for my app.

推荐答案

您可以使用活动视图控制器"来创建它.它与操作表不同.

You can create this by using an Activity View Controller. It's not the same as an Action Sheet.

请参阅Apple的文档:

See Apple's documentation:

查看全文

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