将视频添加到启动画面或应用程序的第一个视图中(IOS xcode 4.0) [英] Add a video into splash screen or in the first view of the app (IOS xcode 4.0)
问题描述
我是 IOS 的初学者,但我需要在应用启动时显示视频.请问你能帮我吗?
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?
谢谢.
如果我有拼写错误,抱歉我来自西班牙.;D
If I have an orthographic mistake, sorry I come from Spain. ;D
推荐答案
在您的应用程序能够启动之前,启动画面"只能是用作占位符的图像.即使您找到了播放视频的方法(我认为这是不可能的),但在启动屏幕的使用方式上,这与 Apple 的 HIG 背道而驰.
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.
这篇关于将视频添加到启动画面或应用程序的第一个视图中(IOS xcode 4.0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!