Skip to content

Error create UIImage #2

@gbmiranda

Description

@gbmiranda

When the object "data" does not correspond to an image and you force the parse how they are doing in the application error occurs .. not found a way to get around, what do you suggest?

Line: let imageObtained : UIImage = UIImage(data: data)!

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