You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like it was simply a bug in the example project, which I had thrown together very sloppily to test out the framework. Sorry about that! Fixed in the latest commit.
To insert an image of an asset, do the following:
for i in 0 ..< images.count - 1 {
manager.requestImage(for: images[i],
targetSize: CGSize(width: 100, height: 100.0),
contentMode: .aspectFill,
options: nil) { (result, _) in
print(result)
let resultphoto = Photo(image: result, url: nil)
self.photos.append(resultphoto)
}
I have obviously put nil in the url, but I keep trying to download it. The image is imported from the asset.
I get an error here.
The text was updated successfully, but these errors were encountered: