在iPhone应用程序启动期间播放电影文件(即在应用程序加载期间) [英] play movie file during iphone application startup(i.e during application loading)

查看:118
本文介绍了在iPhone应用程序启动期间播放电影文件(即在应用程序加载期间)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想播放电影文件或任何动画文件,直到时间应用程序没有完全加载。

有没有简单的方法呢?

I want to play a movie file or any animation file till the time application not loaded completely.
Is there any simple way to do it?

推荐答案

你必须仔细考虑是否真的想要这样做。在硬件受限的设备上,加载电影会增加加载时间,而不是减少它们应该是您的目标。甚至Default.png方法也意味着指示应用程序正在加载并减少用户感知的加载时间;它不是一个闪屏或眼睛糖果。

You have to think carefully about if you really want to do this. On a hardware limited device, loading a movie is going to increase load times, not reduce them as should be your goal. Even the Default.png method is meant as a way to indicate the application is loading and reduce the perceived load time to the user; it's not intended as a splash screen or eye candy.

如果您的应用程序在加载过程中确实有很长的操作,那么在显示功能UI之前绝对无法避免我认为最好的选择可能是使用Core Animation图层快速加载'加载'动画。也许有更好的方法可以做到,但根据我的经验,加载电影播放器​​需要时间。

If your application does have a very long operation during load that you absolutely can't avoid before showing a functional UI, I think the best bet might be to whip up a quick 'loading' animation using Core Animation layers. Maybe there's a better way to do it but in my experience loading the movie player takes time.

这篇关于在iPhone应用程序启动期间播放电影文件(即在应用程序加载期间)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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