MPMoviePlayer 默认控制按钮未对齐

发布于 2024-10-05 16:38:16 字数 193 浏览 0 评论 0原文

我有一个 MPMoviePlayer,它需要在 3.1 及更高版本的所有 iOS 上运行。我根据iOS版本修改了控件的显示,但我总是使用默认控件(即为iOS 3.2和4型号设置控件样式,为3.x版本设置控件模式)。

iOS 3.2+ MoviePlayer 上出现一个奇怪的问题。 “快退”按钮向上移动了大约 5 或 10 个像素,使其与其余按钮不对齐。

I have an MPMoviePlayer, which need to work on all iOS from 3.1 and forward. I modify the showing of controls based on the iOS version but I always use the default controls (i.e. setting control style for iOS 3.2 and 4 models, and control mode for 3.x versions).

A strange issue happens on the iOS 3.2+ MoviePlayer. The Rewind button is displaced some 5 or ten pixels up making it unaligned with the rest of the buttons.

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

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

发布评论

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

评论(1

超可爱的懒熊 2024-10-12 16:38:16

好吧,在这种情况下,我尝试更改内容类型和 controlStyle 的结果并不好。如果出现此问题,我发现的一个解决方案是创建 MPMoviePlayer 的全新实例并相应地设置 controlStyle...

Ok so in this case it turned out that my attempt to change content type and controlStyle didn't turn out very well. One solution I found if this issue appears is to create a completely new instance of the MPMoviePlayer and setting up the controlStyle accordingly...

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