so im making this app that uses a NSTimer of 0.05 secs and what it does is this:
(i have like 8 of that, each one with different images) And this uses up like 70MB of memory!!!
(all the image files are less than 10MB)
HELP!!!
Code:
if (x4<=17) {
num = [NSString stringWithFormat:@"%i", x4];
imagen = [NSString stringWithFormat:@"%@%@", @"image", num];
imagen = [NSString stringWithFormat:@"%@%@", imagen, @".png"];
imageview.image = [UIImage imageNamed:imagen];
x4++;
x=0;
}
if (x4==17){
x4=0;
}
(all the image files are less than 10MB)
HELP!!!