0

I have to display a splash screen which resides on a server. Using a web service, I have to get it displayed in my SplashScreenViewController. So it's obvious that when my app launches, it will display a blank screen (img is being downloaded) and after a few seconds, it will show my splash screen.

I know that the splash screen image should have to be in the main bundle, and locally it should be seen as a splash image. But the client wants us to get it loaded from a server.

So can I use an activity indicator in that duration until my splash screen gets loaded?

4

1 回答 1

1

这是一个非常糟糕的启动画面实现,但没有其他方法,您将需要使用指示器视图,直到图像下载完毕,

还要考虑添加一个默认图像,它比白色视图好得多

您将不得不处理一些问题,例如如果互联网连接非常慢或您没有连接,您会怎么做,如果您出于任何原因没有收到您要求的图像,您会怎么做

于 2012-06-27T11:29:53.810 回答