item.loadTransferable(type: Data.self) { result in
switch result {
case .success(let data):
guard let data = data, let image = UIImage(data: data) else { break }
imageView.image = image
case .failure(let error):
...
}
}
I load the raw format photo through the above code, but the displayed image is very blurry and messed up.
But not all raw format photos will be like this, what is the reason?