Skip to content

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

@SuperBox64

Description

@SuperBox64

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

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