Какой звонок правильный? Кажется, что оба вызова имеют одинаковый результат.iOS: Инициализация UIImage
UIImage *img = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]];
или
UIImage *img = [[UIImage alloc] imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]];
+1 Я неправильно читаю второй (что не очень удобно делать) – MByD