If I share via Message, all thumbnails are ok.
If I share via email and if the user clicks on the link, he is redirected to iCloud.com, which is great.
The problem is that the iCloud.com page doesn't show the correct thumbnail. It should the standard one (when no icon is setup).
Is there a way to setup the correct one?
When I create the share I set the share like this but obviously it's not working:
if let appIconImage = UIImage(named: "Thumbnail"), let appIconData = UIImagePNGRepresentation(appIconImage) {
share[CKShareThumbnailImageDataKey] = String(data: appIconData, encoding: .utf8) as CKRecordValue?
}