2

I want to make screen with scroll view. How can I place items that will be shown after scroll in Interface Builder? Thanks

Nick Weaver
  • 47,228
  • 12
  • 98
  • 108
nyanev
  • 11,299
  • 6
  • 47
  • 76

2 Answers2

3

Select the elements you'd like to put in a scrollview then:

In XCode4:

Click in the menu on Editor -> Embed -> scrollview.

In XCode3:

Click in the menu on Layout -> Embed Objects In -> scrollview.

Have a look at How to add "UIScrollView to Interface builder?", there are several good solutions and comments.

Community
  • 1
  • 1
Nick Weaver
  • 47,228
  • 12
  • 98
  • 108
1

drag and drop UIcontrols on to the scrollView in the interface builder.

In inspector, change its frame where you want to place control in reference to the scrollview.

SriPriya
  • 1,240
  • 15
  • 22