in iphone i have requirement of store image in cache .
but how i can store this in cache.
I know the folder path of cache. is this only way i have to WRITE
use this link..
http://www.makebetterthings.com/iphone/image-caching-in-iphone-sdk/
edited:
get file path using this code and fatch the particular file :
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES);
NSString *libraryDirectory = [paths objectAtIndex:0];