I have three UIScrollViews in my app. These UIScrollViews are placed at the top of the screen, in the middle of the screen, and at the bottom of the screen. These UIScrollViews automatically adjust from within Interface Builder and Auto Layout. I think I am setting the scrollview content size to adjust based on the device used with;
< scrollView.contentSize = CGSizeMake(2990, self->scrollView.frame.size.height); >
but when I add an image;
< UIImage *image = [UIImage imageNamed:@"Top View Strip 5.png"];
UIImageView *imageView = [[UIImageView alloc] initWithImage: image];
[scrollView addSubview:imageView];
[self.view addSubview:scrollView]; >
the image size does not adjust to fill the scrollView. Perhaps I am not actually setting the scrollview content correctly?