How can I get the path or directory of the PHAsset
images?
I came across an answer here written by @diegomen but when I try it like selectedAssets[0].PHAsset.getURL()
it asks for a parameter but @diegomen said it doesn't require a parameter from the comments.
Am I applying it wrong?
Or is there other way of getting the images path from PHAsset
?
NOTE: I found another solution here by @Clay but it doesn't seem to be the good practice to do it.