Reputation: 2141
I have an existing working iPhone project inside XCode 4.2. I localized an image (which is used on a button) and I always see the old version of it inside the iPhone simulator. Where does it find that old version?
What I've done:
And I still see the old version... Is it compiled somewhere inside the interface builder with the button or something like that? Weird... really weird.
Note: I'm able to localize an image button if I add a new image, but using old existing image is always showing me the old version.
Upvotes: 0
Views: 1113
Reputation: 21
Delete the App in iPhone Simulator (same way you would delete it on real iPhone) and try it again.
Upvotes: 2
Reputation: 2141
Solution : My project contained images like [email protected] (for IPad I guess). By also localizing those + clean + build + reset IPhone Sim settings, it worked. Go figure.
Also, when I add another language for the @2x images, I have to manually add the image in the other xx.lproj (where XX is the language code) with the finder because somehow XCode doesn't it.
Upvotes: 2
Reputation: 6575
I have encountered a similar problem to this where the XIB file would not accept modifications. I eventually fixed by renaming the XIB file and then changes were accepted. Worth a try in your case I think.
Upvotes: 0