forum

Home / DeveloperSection / Forums / Checking asset existance of ALAasset in iOS.

Checking asset existance of ALAasset in iOS.

Jayden Bell 1153 14-Jan-2016

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?


Updated on 14-Jan-2016

Can you answer this question?


Answer

1 Answers

Liked By