载入画面-iPhone应用程式 [英] Load Screen - iPhone App

查看:81
本文介绍了载入画面-iPhone应用程式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道您可以放置​​图像并将其命名为"Default.png"以显示默认的加载屏幕,但是如果您想添加UIActivityIndi​​cator例如在应用程序加载时显示一些图形显示,该怎么办? /p>

I know you can place an image and name it "Default.png" to show a default load screen, but what if you want to add a UIActivityIndicator for example to show some graphical display whilst the application is loading..?

推荐答案

在应用程序启动时,您无法立即显示正在加载的图形显示.您可以得到的最接近的结果是将应用程序中第一个视图的背景图像设置为相同的Default.png图形,并在该视图中的某个位置放置UIActivityIndicator.这将使您在启动映像和应用程序之间进行无缝过渡.

You can't have a loading graphical display show up right when the application starts up. The closest that you can get is to set the background image of the very first view in your application to the same Default.png graphic and put a UIActivityIndicator somewhere in that view. This would give you a seamless transition between the start-up image and the application.

这篇关于载入画面-iPhone应用程式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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