Back to Browse

iOS Dev 9: ScrollView using AutoLayout | Swift 5, XCode 11

19.6K views
Jun 13, 2020
5:34

In this lesson, we learn how to add scrollView to a ViewController using AutoLayout. Steps: 1. Add ScrollView to the ViewController 2. Add constraints to all four corners 3. Add a UIView (content view) and add constraints with the scrollView to all four corners. 4. Set equal width between the UIView and the scrollView. 5. Add height to the UIView (If the height is greater than the height of the device, It automatically becomes scrollable). Say Hi on Social Media: LinkedIn: https://www.linkedin.com/in/emacco/ Twitter: https://twitter.com/Its_Macco If you feel like buying me a coffee :) https://www.buymeacoffee.com/emmanuelokwara

Download

1 formats

Video Formats

360pmp48.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

iOS Dev 9: ScrollView using AutoLayout | Swift 5, XCode 11 | NatokHD