简体   繁体   中英

Xcode old tab bar icons showing up unannounced

So in xcode I have a tab bar view controller with multiple tabs. Each tab has an individual tab bar icon. A while back I made my own custom icons and added them to my tab bar view controller, but just till recently I decided they don't look fitting. So I replaced them with sharper looking icons. The problem is when I run my app, it shows the old icons for a couple seconds, then shows the new icons. I've done clean/build many times in a vain attempt to cease this problem.

Problems of this sort are almost always caused by the old icons hanging around inside your build. First, make sure you've really deleted them from your project. Then quit Xcode. Finally, follow the instructions here:

How to Empty Caches and Clean All Targets Xcode 4

Be sure to clean out both the DerivedData folder and the Simulator. Now there is no trace of the old build and you should get a proper clean build next time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM