Has anybody idea how to fetch squared thumbs from PHImageManager? PHImageContentModeAspectFill option has no effect.
[[PHImageManager defaultManager] requestIm
let squareSize = CGSize(100, 100) let options = PHImageRequestOptions() options.resizeMode = .exact options.deliveryMode = .highQualityFormat PHImageManager.default().requestImage(for: asset, targetSize: squareSize, contentMode: .aspectFill, options: options) { (image, _) in // Use the image. }