0

I need to change a initial background of an application.

when I debug an IOS code, I found the initial windows's background get set even before I enter the

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

I am wondering what's the possible place to set the background image.

4

2 回答 2

0

In your project's summary settings, you can set the default loading image. Here you can also set the Icon!

Project > summary

Make sure that the images you choose have the correct dimensions

..

If you would like to do this manually, swap the project's files called "Default.png" and Default-568h.png" to the ones of your choice. Those files are located in the projects root folder

See: https://www.google.se/search?q=project+summary+xcode&safe=off&client=safari&hl=en-gb&source=lnms&tbm=isch&sa=X&ei=dp8FUrnhOpDP4QSkiIH4Ag&ved=0CAgQ_AUoAA&biw=320&bih=460#biv=i%7C4%3Bd%7CX9orTmZ6VqxFQM%3A

于 2013-08-10T01:47:55.377 回答
0

这并不是“更改”图像的问题,而是上传新图像。您将图像添加到资源文件夹,然后您可以在界面图形侧的 Inspector 中更改背景图像。单击要更改的 UIImageView,然后转到 Inspector。应该有一个“图片”选项,您可以在其中输入您上传的图片名称。

于 2013-08-10T01:52:53.627 回答