iPad - 如何让我的UIActionSheet看起来像safari中的瘦身? [英] iPad - How can I make my UIActionSheet look like the thin one in safari?

查看:160
本文介绍了iPad - 如何让我的UIActionSheet看起来像safari中的瘦身?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以上UIActionSheet是比正常的更薄。当我尝试为某些网站添加书签时,我从Safari中截取了屏幕截图。

The above UIActionSheet is thinner than the normal one. I took the screenshot from Safari when I try to bookmark some website.

我或iPad中的默认UIActionSheet如下所示。它比Safari更厚,特别是边框。

Mine or the default UIActionSheet in iPad looks like the following. It is thicker than the one in Safari, especially the border.

如何使我自己的UIActionSheet看起来像Safari中的那个?
我是否需要进行任何特定的自定义,或者我可以为UIActionSheet使用某些参数?

How can I make my own UIActionSheet look like the one in Safari? Do I need to do any particular customisation or I can use some kinds of parameters for UIActionSheet?

谢谢

推荐答案

实例方法:

showFromBarButtonItem:animated:

文档:

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIActionSheet_Class/参考/ Reference.html

在iPad上,它会在Popover中显示UIActionSheet。

On iPad, it will display the UIActionSheet inside a Popover.

这篇关于iPad - 如何让我的UIActionSheet看起来像safari中的瘦身?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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