Skip to content

icon does not show image, shows a file "PNG" icon instead #17

Open

Description

@AgentiLoop

let icon = Bundle.main.url(forResource: "bless", withExtension: "png")

When I use the above code, and add an image called "bless" to my App, I am not get the actual image icon, instead I get a file icon with the letters "PNG" on it.

Are there any specs for the image such as image size, or any thing else that might be missing?

image image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions