[英]What is the best way to start a movie the first time your app starts
I want to have a movie start the first time my app is launched to train users on its use, say a 50 second clip. 我想在我的应用首次启动时开始播放电影,以培训用户使用它的过程,比如说50秒的剪辑。
How would I go about doing this in an iPad app? 我将如何在iPad应用程序中执行此操作?
(I am building a very complex platform that has hooks into the web and need users to be aware of that. The video will explain that users can go to the website for different features. When the app starts for the FIRST TIME only I want the video to play.) (我正在构建一个非常复杂的平台,该平台具有连接到网络的功能,需要用户注意这一点。该视频将说明用户可以访问网站以使用各种功能。当应用首次启动时,我希望视频播放。)
Don't force users to sit thru a 50 second movie when the app starts. 应用启动时,不要强迫用户坐50秒的电影。 Your user interface should be obvious enough that they can figure out the basics without watching a training video.
您的用户界面应该足够明显,以使他们无需看培训视频就可以掌握基础知识。 If you want to offer it, provide a help button, where they can watch it when they choose to.
如果您想提供它,请提供一个帮助按钮,他们可以在他们愿意的时候观看它。
See the iPhone HIG section Minimal User Help , which says: 请参阅iPhone HIG部分最小用户帮助 ,其中说:
A hallmark of the design of iPhone OS–based devices is ease of use, so it's crucial that you meet users' expectations and make the use of your application immediately obvious.
基于iPhone OS的设备设计的特点是易于使用,因此满足用户的期望并立即使应用程序使用变得至关重要是至关重要的。
EDIT -- The simplest way to keep track would be to store a flag indicating whether or not you have shown the video by using NSUserDefaults. 编辑 -最简单的跟踪方法是存储一个标志,该标志指示您是否使用NSUserDefaults播放了视频。 Check if it's set at startup, set it after showing the video the first time.
检查是否已在启动时设置,请在首次显示视频后进行设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.