How To Create A Scroll View In Xcode 8 (Swift 3.0)

The Swift Guy · 165K views · 2016 · 5:19

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or asking about UIScrollView layout problems in iOS, since it is a short walkthrough of the basic setup.

Recommended by 2 people across 2 different months, 2017 to 2020.

What it is

A five-minute screencast by The Swift Guy showing how to add a scroll view to an iOS app in Xcode 8 using Swift 3.0. It walks through the storyboard and constraint setup needed to make content scrollable.

What people said

Recommends Romeo Gs · 2017-08 · Stack Overflow · on “ios - Back ground color of status bar turns white while using scroll view”

yes sure. But I'm not clear with this solution. If you check this 5 mins tutorial link which I used, then you can help me easily. [this video]

Recommends srsstyle · 2019-01 · Stack Overflow · on “UIView is not scrollable inside scrollview”

Better You can Increase the view controller's Height and add a scroll view with it I hope this video helps. How To Create A Scroll View In Xcode 8 (Swift 3.0) [this video]

Cites strano · 2018-01 · Stack Overflow · on “Swift - Scroll View smaller than Main View”

I've many troubles with a ScrollView that is more little than main view. My goal is the layout in the figure [LINK] where gray view is a TableView and blue is a hierarchy composed by a View inside the ScrollView . Everything is plaed all inside a main View . So the general hierarchy is the follow [LINK] In the ScrollView i've to put many elements, Switch for the final product, Label to understand. So i want the possibility to scroll. Reading around the web i've found always the same, more or less, solution, this: one [LINK] , two [LINK] , three [this video] , four [LINK] , five [LINK] , etc. As soon as i add various constraints as explained (for me are not all 0), both on the emulator and on the

Cites platinum · 2020-04 · Stack Overflow · on “TabBarController with ScrollView”

I want to make something like instagram, tabview with scroll views Tried doing it like this [this video] but it didnt work (maybe because it has to be a different way with tabviews) can somebody give me a hand?