I simply have a ViewController
and added UIScrollView
into that. Later on I created UIImageView
which is larger than UIScrollView
and inserted into the UIScrollView
.
However when I run the simulator, UIScrollView
does not scroll. I can bounce it but it does not simply leave it's current position within the UIImageView
.
I also tried using [scrollView setContentSize:CGSizeMake(320, 640)];
within my viewDidLoad and it did not really work.
So how can I make the UIScrollView
to actually scroll?
I am using Xcode 5 and iOS 6.1