My comic book app is up and running but with a few things missing.
1) I want to have the images scroll from left to right, but I have the app automatically set itself up to landscape mode upon opening. Where to I tweak this part of the app? (btw...It is doing left to right in portrait mode)
2) I have two of my images showing...where do I add the other 22 images in my code through addSubView?
// load all the images from our bundle and add them to the scroll view
NSUInteger i;
for (i = 1; i <= kNumImages; i++)
{
NSString *imageName = [NSString stringWithFormat:@"image%d.jpg", i];
UIImage *image = [UIImage imageNamed:imageName];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
// setup each frame to a default height and width, it will be properly placed when we call "updateScrollList"
CGRect rect = imageView.frame;
rect.size.height = kScrollObjHeight;
rect.size.width = kScrollObjWidth;
imageView.frame = rect;
imageView.tag = i; // tag our images for later use when we place them in serial fashion
[scrollView1 addSubview:imageView];
[imageView release];
} [self layoutScrollImages]; // now place the photos in serial layout within the scrollview
}