I'm trying to make a view scrollable in my app.
O follow exactly the steps in tutorial https://www.youtube.com/watch?v=UnQsFlMGDsI .
The main steps I did were:
- Add a UIscrollView
- Add a view into UIscrollView (Content View)
- Create the margin constraints with value 0 (top, left, right and botton) for UIScrollView
- Create the margin constraints with value 0 (top, left, right and botton) for Content view
- Create 2 constraints of "equal width" and "equal height" between ContentView and main view
- ... (Add some text fields)
When I run the app, the scrollView doesn't work
I really can't make it work. I tried many ways to apply a UIScrollView and didn't get it.