NSFileProviderPartialContentFetching on iOS

We're experimenting with FileProvider on MacOS and iOS. One of our requirements is to support downloading partial content of files. However, this looks to be supported only on MacOS as per https://developer.apple.com/documentation/fileprovider/nsfileproviderpartialcontentfetching?language=objc.

Is there an alternative for NSFileProviderPartialContentFetching on iOS? If not, can you please share any standard practice on how to accomplish this on iOS?

Sample code that works on MacOS -

#import <FileProvider/FileProvider.h>
@interface FileProviderExtension : NSObject<NSFileProviderReplicatedExtension, NSFileProviderPartialContentFetching>

For iOS platform, NSFileProviderPartialContentFetching isn't available and build fails.

Answered by DTS Engineer in 829745022

Yeah, as of today, partial content fetching (NSFileProviderPartialContentFetching) is only supported on macOS. There is no alternative on iOS, and so you can't implement the feature for your iOS file provider extension. The best thing you can do today is to file a feedback report with your use case for the team to evaluate – If you do so, please share your report ID here for folks to track.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Yeah, as of today, partial content fetching (NSFileProviderPartialContentFetching) is only supported on macOS. There is no alternative on iOS, and so you can't implement the feature for your iOS file provider extension. The best thing you can do today is to file a feedback report with your use case for the team to evaluate – If you do so, please share your report ID here for folks to track.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

NSFileProviderPartialContentFetching on iOS
 
 
Q