So you want to create a scroll view in xib.
- Add a scroll view to the nib file
set its size to to whatever you want
Add your controls (Buttons,labels..)
Add it as a sub view of main view
Finally create a property of scroll view and in
viewDidLoad
set the content size of the scroll viewself.scrollView.contentSize =CGSizeMake(320, 700);