diff --git a/AsyncDisplayKit.podspec b/AsyncDisplayKit.podspec index 1b688c75ae..02557df6fb 100644 --- a/AsyncDisplayKit.podspec +++ b/AsyncDisplayKit.podspec @@ -46,7 +46,7 @@ Pod::Spec.new do |spec| spec.subspec 'PINRemoteImage' do |pin| # Note: The core.prefix_header_file includes setup of PIN_REMOTE_IMAGE, so the line below could be removed. pin.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) PIN_REMOTE_IMAGE=1' } - pin.dependency 'PINRemoteImage/iOS', '= 3.0.0-beta.7' + pin.dependency 'PINRemoteImage/iOS', '= 3.0.0-beta.8' pin.dependency 'PINRemoteImage/PINCache' pin.dependency 'AsyncDisplayKit/Core' end diff --git a/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m b/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m index 1d1cb94438..8b61f81c0b 100644 --- a/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m +++ b/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m @@ -164,8 +164,8 @@ static ASPINRemoteImageDownloader *sharedDownloader = nil; - (id )synchronouslyFetchedCachedImageWithURL:(NSURL *)URL; { PINRemoteImageManager *manager = [self sharedPINRemoteImageManager]; - NSString *key = [manager cacheKeyForURL:URL processorKey:nil]; - PINRemoteImageManagerResult *result = [manager synchronousImageFromCacheWithCacheKey:key options:PINRemoteImageManagerDownloadOptionsSkipDecode]; + PINRemoteImageManagerResult *result = [manager synchronousImageFromCacheWithURL:URL processorKey:nil options:PINRemoteImageManagerDownloadOptionsSkipDecode]; + #if PIN_ANIMATED_AVAILABLE if (result.alternativeRepresentation) { return result.alternativeRepresentation;