xcode 无法在 iOS 模拟器中删除闪屏图像
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5382360/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
can't remove splash screen image in iOS Simulator
提问by PatrickGamboa
Hey guys, I'm testing my app on SDK iOS Simulator to make sure it runs properly. First of all, I decided to remove a splash screen image because I don't think I want one. When I ran my app again, it's showing the splash image again, thought I was a bit confused there, so I deleted the image from references and removed the image from the folder, to the trash. WHen I ran my ap again, it's still showing the same splash screen image again! I have no clue what's going on with my project now that the stupid splash screen image that I removed kept showing over and over again. Then I tried to run other project to see they are ok, but for some problem again, that same splash screen image that I completely removed is still showing up! Hopefully someone can Please help me resolve this situation quickly!
大家好,我正在 SDK iOS Simulator 上测试我的应用程序,以确保它正常运行。首先,我决定删除启动画面图像,因为我认为我不想要一个。当我再次运行我的应用程序时,它再次显示启动图像,我以为我在那里有点困惑,所以我从引用中删除了图像并将图像从文件夹中删除到垃圾箱。当我再次运行我的 ap 时,它仍然再次显示相同的闪屏图像!我不知道我的项目发生了什么,因为我删除的愚蠢的闪屏图像一遍又一遍地显示。然后我尝试运行其他项目以查看它们是否正常,但是又出现了一些问题,我完全删除的同一个启动屏幕图像仍然出现!希望有人可以请帮助我快速解决这种情况!
回答by Oliver
Clean the project (in xcode :-) ), remove any installed version of your app on the simulator (if you want, reset the simulator, it will be more efficient), go into the finder and with a rightclick on your xcode project, open the package and check if there are no included source file into it (.m, .h, resources, ...), including your image. If there are, move them out and update the needed one into your project. Then clean your project again in xcode, build, run.
清理项目(在 xcode :-) 中),删除模拟器上任何已安装的应用程序版本(如果需要,重置模拟器,它会更有效率),进入查找器并右键单击您的 xcode 项目,打开包并检查其中是否包含源文件(.m、.h、资源等),包括您的图像。如果有,请将它们移出并将所需的更新到您的项目中。然后在 xcode 中再次清理您的项目,构建,运行。
Does this work ?
这行得通吗?
回答by MCannon
in xcode you need to do a build clean, then delete the app from the simulator, then build and run.
在 xcode 中,您需要清理构建,然后从模拟器中删除应用程序,然后构建并运行。
回答by Yunus Nedim Mehel
See Xcode- Deleted images appear in simulator. You can also try removing the app from your simulator and running it again.
请参阅Xcode- 删除的图像出现在模拟器中。您也可以尝试从模拟器中删除该应用程序并再次运行它。