Hi Nick,
I think this is an issue, but it is the first time I have had to localise image resources so I might just be missing something.
If an image is localised then it is stored in Base.lproj, fr.lproj etc folders inside the MainBundle of the app.
All the lookup in normalizedPathForFile:ofType seems to be based on the resourcePath which is just got from the MainBundle. So it does not find then find any of the images when it gets with fileExistsAtPath:.
So it then eventually falls back to just the original filename for a normal image lookup.
I am happy to have a bit more of a poke around if you think this is a real issue.
Thanks,
Steven
Hi Nick,
I think this is an issue, but it is the first time I have had to localise image resources so I might just be missing something.
If an image is localised then it is stored in Base.lproj, fr.lproj etc folders inside the MainBundle of the app.
All the lookup in normalizedPathForFile:ofType seems to be based on the resourcePath which is just got from the MainBundle. So it does not find then find any of the images when it gets with fileExistsAtPath:.
So it then eventually falls back to just the original filename for a normal image lookup.
I am happy to have a bit more of a poke around if you think this is a real issue.
Thanks,
Steven