I am trying to update thumbnail image for file in iCloud drive.
I have already read old answers about this, people are suggesting to use NSFileCoordinator and etc. but essentially you have to access thumbnail dictionary with NSURLThumbnailDictionaryKey with this method:
- (BOOL)getResourceValue:(out id _Nullable * _Nonnull)value forKey:(NSURLResourceKey)key error:(out NSError ** _Nullable)error
and then change value for NSThumbnail1024x1024SizeKey. But apple documentation says:
This method applies only to URLs that represent file system resources.
Is there a way to access iCloud drive files via URL and update the thumbnail?