sdimagecache.m으로 이동하여 방법 - (id) initwithnamespace : (nsstring *) ns 거기에 그러한 코드를 찾을 수 있습니다.
// Subscribe to app events
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(clearMemory)
name:UIApplicationDidReceiveMemoryWarningNotification
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(cleanDisk)
name:UIApplicationWillTerminateNotification
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(backgroundCleanDisk)
name:UIApplicationDidEnterBackgroundNotification
object:nil];
원한다면 자유롭게 의견을 말하거나 변경하십시오. 이 코드 라인을 끄는 옵션을 만들었습니다.