try download this image in above url and you will understand what I mean.
Trying with code, I cannot understand what you mean.
let imageUrl = URL(string: "...your ImageUrl here...")!
here: do {
let imageData = try Data(contentsOf: imageUrl) //You should not use this in app
guard let image = UIImage(data: imageData) else {
print("The content of the URL cannot be handled as an image")
break here
}
print(image.size) //->(800.0, 600.0)
} catch {
print(error)
}
If you eventually put the image into an imageView, downloading whole content would not be so bad. You have no need to use such slowly third party framework.