I am using the following code which is coming up with a warning. The code does display the correct image - but how can I get rid of the warning?
NSString *indexPath = [[NSBundle mainBundle] pathForResource:name ofType:@"png" inDirectory:@"tunes"];
NSURL *url = [NSURL encryptedFileURLWithPath:indexPath];
NSData *data = [NSData dataWithContentsOfURL:url];
UIImage *image = [[UIImage alloc] initWithData:data];
warning 'NSURL may not respond to +encryptedFileWithPath:'