在不使用Private API的情况下使用Portrait中的MPMoviePlayerController播放视频-我会被Apple拒绝吗? [英] Playing a video with MPMoviePlayerController in Portrait WITHOUT Private API - Will I get rejected by Apple?

查看:102
本文介绍了在不使用Private API的情况下使用Portrait中的MPMoviePlayerController播放视频-我会被Apple拒绝吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解,MPMoviePlayerController电影必须以横向播放,因为"setOrientation:"功能是私有API.好吧,我突然想到,如果我将视频在Final Cut中旋转90度,然后重新渲染,那么即使从技术上讲它是横向播放,视频也会显示为纵向播放.我只需要禁用播放控件即可完成效果(没关系).

It's my understanding that MPMoviePlayerController movies must play in landscape orientation because the "setOrientation:" function is private API. Well, it occurred to me that if I were to rotate the video 90 degrees in Final Cut and then re-render, the video would APPEAR to be playing in portrait orientation even though it was technically playing in landscape. I would simply have to disable the play controls to complete the effect (which is okay).

如果我使用此方法,我的应用程序仍然会遭到拒绝吗?这些视频制作起来非常昂贵,花钱然后被拒绝是毁灭性的.

Could I my app still face rejection if I used this method? The videos would be very expensive to produce and it would be devastating to spend the money and then get rejected.

推荐答案

如果您没有使用私有API或违反了一项TOS协议,则没有理由拒绝这样做.

If you're not using private API's or violating one of the TOS agreements, there should be no reason why you would get rejected for doing this.

如果您仍然持怀疑态度,并希望确定99%*,请提交一个早期版本的应用程序,以这种方式显示一些视频.将发布日期设置为很久以后的某个日期,并在批准之后将其从商店中删除.

If you're still skeptical and want to be 99%* sure, submit an early edition app that shows a few videos this way. Set the release date to some time far into the future and after it gets approved, delete it from the store.

*我只提出99%的意见,因为与AppStore审核小组打交道的成功与否取决于他们是否在当天早上服药.

*I'm only putting 99% because dealing with the AppStore review team can be hit or miss depending on if they took their medication that morning or not.

这篇关于在不使用Private API的情况下使用Portrait中的MPMoviePlayerController播放视频-我会被Apple拒绝吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆