Gehen Sie zu sdimagecache.m und suchmethode - (id) initWitHNAMEPACE: (nsstring *) ns dort finden Sie einen solchen Code:
// 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];
Fühlen Sie sich frei, etwas zu kommentieren oder etwas zu ändern, wenn Sie möchten. Ich würde eine Option machen, um diese Codezeilen auszuschalten.