Hi I have been having problems loading images quickly to the screen. There seems to be a delay the first time I hit the view:
Here is how I load the images:
for (int i = 1; i < 19; i++)
{
UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"%@_Hole%d_", courseName, i]];
imageView = [[UIImageView alloc] initWithImage:image];
frame.origin.x = cx;
imageView.frame = frame;
[scrollView addSubview:imageView];
cx += scrollView.frame.size.width;
imageView = nil;
}
Each image is 640 x 820.
I don’t think there is much else you could do to speed this up.
However, you do have a memory management issue which could speed up the process to some extent.