iOS动画启动画面 [英] iOS Animated Splash Screen

查看:135
本文介绍了iOS动画启动画面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在iOS开发中添加.fla文件作为启动画面?如果没有,那么启动画面接受的其他格式的动画文件是什么?它接受GIF动画吗?或.swf文件?或者我必须逐帧编写动画。

Is it possible to add an .fla file as splash screen in iOS development? If not what are the other formats of animated files does a splash screen accept? Does it accept animated gifs? or .swf files? or do i have to write the animation frame by frame.

如果是,那么程序是什么?我是否必须以添加图像的方式添加它,只是扩展名不同?

If so what is the procedure? Do i have to add it the same way i add an image just have the extension differ?

我有一个.fla文件,我想添加到我的代码中。不幸的是,我找不到任何关于这是否可行的材料。

I have an .fla file that i would like to add to my code. Unfortunately i couldn't find any material on whether this is feasible or not.

推荐答案

似乎这里的人们不知道启动画面和启动图像之间的区别。
启动图像是静态的,你用xcode配置它们就不能改变它们。

Seems like people here doesn't know the difference between splash screen and launch image. Launch images are static, you configure them with xcode and you can't change them.

但是在启动画面中你可以做任何你喜欢的事情,它是只是一个viewController,您可以在其中显示动画,视频或任何其他内容。
您可以在启动图像之后和目标网页之前显示splass屏幕。
然后,在启动画面中,您可以逐帧创建动画,或者在 MPMoviePlayerController 中加载.mp4视频,如Krumelur所说。

But in a splash screen you can do whatever you like, it's just a viewController where you show an animation, a video, or any other thing. You show the splass screen after the launch image and before your "landing page". Then, in a splash screen you can create an animation frame by frame, or load a .mp4 video in a MPMoviePlayerController as Krumelur said.

使用动画启动画面的人通常使用具有启动画面颜色的启动图像(第一个动画帧的颜色或视频的颜色),因此似乎启动图像是splass屏幕的一部分。

People using animated splash screens, usually use a launch image with the color of the splash screen (color of the first animation frame or the color of the video), so it seems that the launch image is part of the splass screen.

这篇关于iOS动画启动画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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