即使我移动其源按钮,如何使 UIPopOver 原点位于 mainView 中的同一坐标?

发布于 2024-09-12 23:00:09 字数 123 浏览 5 评论 0原文

我已将 uipopover 分配给水平移动的对象。因此,当我继续移动时,弹出窗口也会随之移动。但我不想让它动。只希望底部箭头移动并且弹出框原点应该始终相同。因此,看起来只有箭头在其下方移动。

有谁知道如何得到这个吗?

I have assigned the uipopover to a horizontally moving object. So when I keeps on moving the popover moves along with it. But I doesnt want it to move. Only want that bottom arrow to move and the popover origin should be same always. So it will appear like only the arrow is moving under it.

Can anyone know how to get this?

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

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

发布评论

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

评论(1

习惯成性 2024-09-19 23:00:09

这是不可能的,所以我创建了一个看起来与弹出窗口完全相同的视图,现在一切正常。

This was not possible and so I created a view that will look exactly like the popover and now everything is working fine.

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