I am using
NSURL *url = [[NSURL alloc] URLWithString:[[NSBundle mainBundle] bundlePath]];
to convert the path to NSURL.
But url is null after the statement of execution. Can anyone tell me how to do this?
NSURL *url = [[NSURL alloc] URLWithString:[[NSBundle mainBundle] bundlePath]];
to convert the path to NSURL.
But url is null after the statement of execution. Can anyone tell me how to do this?