I have a UIScrollView set up like so:
@property (strong, nonatomic) IBOutlet UIScrollView *scrollView;
created a scroll view in IB and connected it to the property on top. The width and height are set in IB (there set to W:756 H:468
created the scroll views content size and set scroll enabled
self.scrollView.contentSize = CGSizeMake(1000, 1000);
self.scrollView.scrollEnabled = YES;
also, I am setting this in a view where the view controller is a subview of a other view. This view is set up using a NIB and the the view where I am adding this subview is in a story board.
I had clicked on “Use Autolayout” inside File inspector by mistake, This caused my scroll view not to scroll even with having a bigger content size.