Cannot Scroll UIScrollView

Is the content size larger than the scrollview's frame? That's the only way it'll scroll.


Double-check that you have content size bigger than scroll view size itself. If it will be bigger it will scroll.


m using Xcode 6/iOS 8+ now with auto-layout turned on, and I had the same problem in the first place, removing auto-layout doesn't work at all, so in order to make scroll view scrollable vertically, I made sure the following:

  1. The scroll view content size height MUST be bigger than the screen height, this almost goes without saying...
  2. The top/bottom/left/right constraint of the scroll view HAS TO BE pinned, I did this using storyboard so no code showing up here

If you want to make the scroll view scrollable horizontally, then make sure its content size width is bigger than the screen width, the other rule applies the same.

This worked for me, hope it can help someone.