如何自定义UIPopOver?

发布于 2024-10-27 22:37:30 字数 42 浏览 7 评论 0原文

有没有办法从 UIPopOver 中删除边框?

谢谢,

Is there a way i can remove the border from my UIPopOver ?

Thanks,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

暗地喜欢 2024-11-03 22:37:30

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 its view to your view hierarchy.

谷夏 2024-11-03 22:37:30

据我所知,没有办法自定义 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文