NSURL from image works fine but not with certificate file

26 Views Asked by At

NSURL *imgPath = [[NSBundle mainBundle] URLForResource:@"mycert" withExtension:@"cer"];

The above code works fine with image or other media resources but returns NULL with .cer file!

Any help will be highly appreciated.

0

There are 0 best solutions below