nyanev
nyanev

Reputation: 11519

Interface Builder place many items

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

Upvotes: 2

Views: 1140

Answers (2)

SriPriya
SriPriya

Reputation: 1240

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.

Upvotes: 1

Nick Weaver
Nick Weaver

Reputation: 47241

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.

Upvotes: 3

Related Questions