将视频添加到启动屏幕或应用程序的第一个视图中(IOS xcode 4.0)
我是 IOS 的初学者,但我需要在应用程序启动时显示视频。 请问你能帮我吗?
如果不可能在启动视图上实现视频,有什么想法来创建它吗?
谢谢。
如果我有拼写错误,抱歉我来自西班牙。 ;D
I'm a beginner in IOS but I need to show a video when the app is launching.
Please Can you help me?
If is impossible to implement a video on a splash view, there are any idea to create that?
Thanks.
If I have an orthographic mistake, sorry I come from Spain. ;D
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您的应用程序能够启动之前,“启动”屏幕只能是用作占位符的图像。即使你找到了一种方法来播放视频(我认为这是不可能的),但这也违反了 Apple 的 HIG 关于启动屏幕的使用方式。
可以在启动屏幕后立即将视频加载到自己的视图中。您需要检查第一次运行以确定是否显示它,除非您计划每次都显示它。希望这有帮助。
Apple 人机界面指南
The "splash" screen can only be an image to be used as a placeholder until your app is able to start up. Even if you found a way to get a video to play, which I don't think is possible, it is against Apple's HIG for how the startup screen is supposed to be used.
It would be possible to load your video in its own view immediately after the splash screen. You would need to check for a first time run to determine whether to show it, unless you plan to show it each and every time. Hope this helps.
Apple Human Interface Guide