Skip to content

[ios] Cannot run retina images with Image component? #5672

@aksonov

Description

@aksonov

When I specify @1, @2, @3 suffixes for retina devices, like it done for UIImage, packager runs with error that png file is not found. When I specify <Image source={require("image@1.png")}> it is displayed in
non-retina density. How to specify density?

Here it is said that it should be supported:
https://facebook.github.io/react-native/docs/images.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions