I have an array of urls that contains ALAsset urls. I want to check existance of any specific url.
I tried this code:
NSData *assets = [[NSData alloc] initWithContentsOfFile:@"asset-library://asset/asset.PNG?id=0X32031&ext=JPG"];
but the nsdata variable assets is always nil. So, how can I solve this problem?
Tarun Kumar
14-Jan-2016Here I am providing the code, which helps you to check existance of any specific url.
this is the code: