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];
必要に応じて、自由にコメントしたり、変更したりしてください。これらのコード行をオフにするオプションを作成します。