title: Remove Image Cache
body: <p>I am using AfNetworking version ~> 1.3.4, which is added by cocoaPods. And I can't upgrade to 2.0 because most of the methods are used in my Application. </p>
  
  <p>AFImageCache (in UIImageView+AFNetworking) cannot be cleared when a new image with the same URL is used</p>
  
  <p>I supposed to add the following method in "UIImageView+AFNetworking" Class for this . </p>
  
  <pre><code>+ (void)clearCachedImages {
       [[[self class] af_sharedImageCache] removeAllObjects];
  }
  </code></pre>
  
  <p>As because AFNetworking is in my cocoaPods. I am unable to add. 
  Please help me how to add this method by category / Subclass?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I have tried the following</p>
  
  <pre><code>@class AFImageCache;
  
  @interface SPUtility : NSObject
  {
  
  }
  @end
  
  @implementation SPUtility
  
  + (void)clearCachedImages {
      [[AFImageCache af_sharedImageCache] removeAllObjects]; //shows following error
  }
  @end
  </code></pre>
  
  <p>Error: No Known class method for selector 'af_sharedImageCache'
  2. Receiver 'AFImageCache' for class message is a forward Declaration</p>