没有任何箭头的 UIPopover [英] UIPopover without any arrows

查看:24
本文介绍了没有任何箭头的 UIPopover的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在没有任何箭头指向某处的情况下呈现弹出窗口?

Is it possible to present a popover without any sort of arrows pointing somewhere?

推荐答案

是的,可以这样做:

 [self.popoverController presentPopoverFromBarButtonItem:anItem   
                                permittedArrowDirections:0
                                                animated:YES];

零代表没有方向.

这篇关于没有任何箭头的 UIPopover的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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