MPMoviePlayer 默认控制按钮未对齐
我有一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,在这种情况下,我尝试更改内容类型和 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...