0
votes

I'm trying to achieve scroll view with multiple images. I put the UIScrollView and put 3 UIImageView which the last one is out of bounds. I though that i can scroll the content of the srollview component. How could i achieve this. I have just found examples where the scrollView show just one picture at the time. How could i have multiple pictures shown in UIScrollView.

Something like this: enter image description here

Thanks

1
OK i found method of UIScrollView setContentSize which do what i need. Is there some property which set the size automatically by content?kubo
kubo, you are correct. You want to use setContentSize. There is no functionality to set the size automatically.Brett Hamlin

1 Answers

0
votes

OK the correct method which i was looking for is setContentSize. I thought that there is some setting to do this automatically to the included content. But as Grett writhed there is nothing like that. So i guest this is the only way do that.