且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

载入画面-iPhone应用程式

更新时间:2023-01-26 08:08:35

在应用程序启动时,您无法立即显示正在加载的图形显示.您可以得到的最接近的结果是将应用程序中第一个视图的背景图像设置为相同的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.