I have a for loop,it contacts an array of strings to a part of a URL and then converts it to NSURL and pushes them one by one inside a mutablearray. The problem is that the mutableArray is null when i NSlog it outside the for loop. Here is the code:
for (int i = 0; i < news_Image.count; i++) {
concatURLS = [mediaURL stringByAppendingString:
[news_Image objectAtIndex:i]];
url = [NSURL URLWithString:concatURLS];
[urlArrays addObject:url];
}