如何在ios应用程序中从Web服务中获取启动画面图像

时间:2022-09-10 20:24:41

I am developing an Iphone application using restful web service.I want to implement splash screen through web service.Because i want to change that image dynamically.Is there any method for implementing this?

我正在使用restful web service开发一个Iphone应用程序。我想通过web服务实现启动画面。因为我想动态地改变那个图像。有没有任何方法来实现它?

If anybody know this please help me.

如果有人知道这个,请帮助我。

thanks.

谢谢。

1 个解决方案

#1


1  

the Splash image is your Default image check the linked url for

Splash图像是您的默认图像检查链接的URL

Providing Launch Images for Custom URL Schemes

为自定义URL方案提供启动映像

But, this Default image, just shows for a little while, 2 seconds max, so by the time you do the fetching of your image, the Default "splash" image is long gone,

但是,这个默认图像,只显示了一段时间,最多2秒,所以当你提取图像时,默认的“飞溅”图像早已消失,

also, you see this Default image when you have your app closed [not in background], so in order to see your Default image you will have to delete your app from memory every time is closed...

另外,当你的应用程序关闭[不在后台]时,你会看到这个默认图像,所以为了看到你的默认图像,每次关闭你都必须从内存中删除你的应用程序...

Could you fetch the image and show it the next time the app is opened?

您可以在下次打开应用程序时获取图像并显示它吗?

or you could show an image in a modal view? every time the app starts?

或者你可以在模态视图中显示图像?每次应用程序启动?

;)

;)

#1


1  

the Splash image is your Default image check the linked url for

Splash图像是您的默认图像检查链接的URL

Providing Launch Images for Custom URL Schemes

为自定义URL方案提供启动映像

But, this Default image, just shows for a little while, 2 seconds max, so by the time you do the fetching of your image, the Default "splash" image is long gone,

但是,这个默认图像,只显示了一段时间,最多2秒,所以当你提取图像时,默认的“飞溅”图像早已消失,

also, you see this Default image when you have your app closed [not in background], so in order to see your Default image you will have to delete your app from memory every time is closed...

另外,当你的应用程序关闭[不在后台]时,你会看到这个默认图像,所以为了看到你的默认图像,每次关闭你都必须从内存中删除你的应用程序...

Could you fetch the image and show it the next time the app is opened?

您可以在下次打开应用程序时获取图像并显示它吗?

or you could show an image in a modal view? every time the app starts?

或者你可以在模态视图中显示图像?每次应用程序启动?

;)

;)