Convert file path to file url[NSUrl]
You want to use this method instead:
+ (id)fileURLWithPath:(NSString *)path
Try in this way.
NSURL *fileURL = [[NSURL alloc] initFileURLWithPath:filePath]; //OR ... Use ` +[NSURL fileURLWithPath:]
OR take a look at NSURL Class Reference
Hope it helps you.