print the s7 urls begin fetched for easier debugging
This commit is contained in:
parent
5b500bc138
commit
c6052fde00
@ -15,6 +15,7 @@
|
||||
#import "MVMCoreObject.h"
|
||||
#import "MVMCoreConstants.h"
|
||||
#import "MVMCoreActionUtility.h"
|
||||
#import "MVMCoreLoggingHandler.h"
|
||||
|
||||
@interface MVMCoreCache ()
|
||||
|
||||
@ -527,6 +528,8 @@ static NSString * const STATIC_CACHE_COMPONENT = @"StaticCache.txt";
|
||||
//download image
|
||||
- (void)downloadImage:(NSURL *)s7URL isGif:(BOOL)isGif fallbackImageName:(nullable NSString *)fallbackImageName completionHandler:(nonnull MVMCoreGetImageBlock)completionHandler {
|
||||
|
||||
MVMCoreLog(@"Fetching image: %@", [s7URL.absoluteString stringByRemovingPercentEncoding]);
|
||||
|
||||
NSURLSession *session = [MVMCoreSessionObject sharedGlobal].session;
|
||||
NSURLCache *sharedCache = session.configuration.URLCache;
|
||||
NSURLRequest *request = [NSURLRequest requestWithURL:s7URL cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:ImageTimeOut];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user