I have in a sqlite database the complete path of an image, which is stored in the device, and I need to set a UIImage with that image.
Example:
NSLog(@"Path %@", imagePath);
Output:
/Users/Sk*****/Library/Application Support/iPhone Simulator/4.3.2/Applications/15977219-DEFE-407A-BB80-72E188E18DD2/Documents/20-10-20111746.png
Use
+ (UIImage *)imageWithContentsOfFile:(NSString *)path