如何自定义UIPopOver?
有没有办法从 UIPopOver 中删除边框?
谢谢,
Is there a way i can remove the border from my UIPopOver ?
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有没有办法从 UIPopOver 中删除边框?
谢谢,
Is there a way i can remove the border from my UIPopOver ?
Thanks,
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
UIPopoverController
几乎没有提供任何方法来自定义其外观。另一方面,在您似乎正在谈论的上下文中,它的行为并不难复制 - 只需创建您当前在弹出窗口中使用的任何视图控制器,然后手动将其view
添加到你的视图层次结构。UIPopoverController
provides just about no method to customize its appearance. On the other hand, its behavior isn't hard to replicate, in the context you seem to be talking about—just create whatever view controller you're currently using in a popover and manually add itsview
to your view hierarchy.据我所知,没有办法自定义 UIPopoverController 的外观。您可以更改它的显示位置。但目前您无法更改边框的颜色或大小。
As far as I can tell, there is no way to customize the look of a UIPopoverController. You can change where it appears. At the moment however, you cannot change the color or size of the boarder.