Martin Muldoon
Martin Muldoon

Reputation: 3438

How to add an existing view to a UIScrollView

I have created a view and the content is larger than the screen. How do I add this view as a subview of a scrollview? For some reason I can't do this in Document Outline. It will only let me add the scrollview as a subview of the existing view.

Upvotes: 1

Views: 615

Answers (1)

caxix
caxix

Reputation: 1102

Select your view in Interfacebuilder and then use the menu command Editor:Embed In:Scroll View

enter image description here enter image description here

Upvotes: 1

Related Questions