PINRemoteImageManager seems to expose only one way to set priority:
- (void)setPriority:(PINRemoteImageManagerPriority)priority ofTaskWithUUID:(nonnull NSUUID *)UUID;
If I look at PINRemoteImageDownloadTask it seems that you can only change the priority of progressive image task(?):
If I am reading the code right, it looks like it's "impossible" to change the priority right now of a image download (that's non-progressive)?
I also would be curious on whether the priorities are always respected. Because of the additional call to set a priority (instead of directly setting it as part of download:), it makes it hard to reason whether the image task will actually get its priority bumped before the network call goes out.
PINRemoteImageManager seems to expose only one way to set priority:
- (void)setPriority:(PINRemoteImageManagerPriority)priority ofTaskWithUUID:(nonnull NSUUID *)UUID;
If I look at
PINRemoteImageDownloadTask
it seems that you can only change the priority of progressive image task(?):If I am reading the code right, it looks like it's "impossible" to change the priority right now of a image download (that's non-progressive)?
I also would be curious on whether the priorities are always respected. Because of the additional call to set a priority (instead of directly setting it as part of
download:
), it makes it hard to reason whether the image task will actually get its priority bumped before the network call goes out.Related issue: https://github.com/pinterest/PINRemoteImage/issues/262