So, i have a view controller which contains just a scroll view. In viewDidLoad, i add a view to it from a nib, but when i do that, the scrolling stops working. The view i added works though, i.e. i can click buttons, but half of it is off screen.
Isn't that making the contentSize be smaller than the view size, therefore making no part of it outside what is viewable and therefore no longer needing to scroll. Oh, wait I am assuming iPad and it this is iPhone, then yes it will be bigger than the view size. Then just ignore my post here.
contentSize is the full size of the scroll view, and if it is bigger than what can be visible, that is when it automatically makes it scroll.
You have your ScrollView's autoresizesSubviews set to YES. Is it possible that, when you add your keyboard subview, it is being resized to fit the ScrollView? (Then again, that should make them both bigger than the ScrollView's parent view, so scrolling should still be enabled.)
The only other thing I can think of off the top of my head is that, for some reason, keyboard has its exclusiveTouch property set to YES. Since it is supposed to default to NO, maybe you mistakenly set the property in Interface Builder when you created the nib?