Skip to content

Does not support localised image resources #14

@stevenoglesby

Description

@stevenoglesby

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions