I am getting an error while using the following method for reading image.
[NSString stringWithContentsOfFile:imagepath encoding:NSUTF8StringEncoding error:&error
The error is The file “image.png” couldn’t be opened using text encoding Unicode (UTF-8).