From 70db99a34b1a09fd45276f7dd689dbe2ea57e961 Mon Sep 17 00:00:00 2001
From: lpw <812862340@qq.com>
Date: Thu, 15 Jan 2026 17:01:15 +0800
Subject: [PATCH] 提交版本 4.9.1

---
 frameworks/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/frameworks/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h b/frameworks/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h
old mode 100755
new mode 100644
index 9bdc15c..1a27bb4
--- a/frameworks/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h
+++ b/frameworks/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h
@@ -73,6 +73,17 @@
 @protocol AFImageRequestCache <AFImageCache>
 
 /**
+ Asks if the image should be cached using an identifier created from the request and additional identifier.
+ 
+ @param image The image to be cached.
+ @param request The unique URL request identifing the image asset.
+ @param identifier The additional identifier to apply to the URL request to identify the image.
+ 
+ @return A BOOL indicating whether or not the image should be added to the cache. YES will cache, NO will prevent caching.
+ */
+- (BOOL)shouldCacheImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;
+
+/**
  Adds the image to the cache using an identifier created from the request and additional identifier.
 
  @param image The image to cache.

--
Gitblit v1.8.0