Progress returned by itemProvider.loadFileRepresentation always 100%

Is this a bug or the expected behaviour?

Code Block
var progress = itemProvider.loadFileRepresentation(
forTypeIdentifier: id,
completionHandler: { [self] (u, error) in
//...
})
 var timer = Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { [self] timer in
      print("\(progress?.completedUnitCount)/\(progress?.totalUnitCount)")
 }

this always prints 100/100
Thanks for reporting! It's a known issue (tracked by 65633664).

I just noticed that progress.fractionCompleted is returning a useful result. I can show a real progress update now. This was while building with Xcode 14.3.1 running on iOS 16.5.1. I'm unsure how long this has been working.

Progress returned by itemProvider.loadFileRepresentation always 100%
 
 
Q