ADDRESPONSE - ADD MEMORY ONLY

I found one solution related to Addresponse - adding to memory only in Stackoverflow, but my application still reports this even in the recommended one.

Addresponse - add only to memory (Xcode)


AppDelegate.m

 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... // Enable Cache System NSURLCache *cache = [[NSURLCache alloc] initWithMemoryCapacity:4*1024*1024 diskCapacity:32*1024*1024 diskPath:nil]; [NSURLCache setSharedURLCache:cache]; ... } 

Log:

 2013-05-22 19:44:21.648 Setparty[12912:380f] ADDRESPONSE - ADDING TO MEMORY ONLY: http://SERVER/api/1.0/appimages/?view=1 2013-05-22 19:44:21.667 Setparty[12912:380f] ADDRESPONSE - ADDING TO MEMORY ONLY: http://SERVER/api/1.0/appimages/?view=2 2013-05-22 19:44:21.689 Setparty[12912:380f] ADDRESPONSE - ADDING TO MEMORY ONLY: http://itunes.apple.com/lookup/?id=634476579 

Does anyone know what might be related to these magazines?

+4
source share
1 answer

This is an error message coming from the framework. It’s best to assume that your path on the drive is nil and thus this error message tells you that nothing is being written to the drive.

+4
source

Source: https://habr.com/ru/post/957027/


All Articles