SyntaxFix
Write A Post
Hire A Developer
Questions
If you're really, absolutely positively sure that the NSURL is a file url, i.e. [url isFileURL] is guaranteed to return true in your case, then you can simply use:
[url isFileURL]
[UIImage imageWithContentsOfFile:url.path]