How to create a UIScrollView Programmatically

preview_player
Показать описание
In this video we will go over how to create a UIScrollView Programmatically using swift.

If you have any questions drop them below! ⬇️

Music:
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
Рекомендации по теме
Комментарии
Автор

Thank you, now I successfully made my in-app purchases page, what I learned from this video is that the constraints also effect their "targets" if you set the heightAnchor or widthAnchor, their "targets" will be flexible

diyshow
Автор

This one is the best, you don’t even need set the contentsize🎉

diyshow
Автор

I was losing my mind on a project, and your video singlehandedly solved all of my problems better than all the previous hours of googling and scouring Apple's sparse documentation. Thank you!

StrangePan
Автор

Thanks for the video. For allowing the scrollview to scroll more downwards instead of setting a fixed height constraint you can change the .contentInset property, this works for any class that inherits from scrollview like collectionview or tableview.

scrollView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 50, right: 0)

xVinoz
Автор

oh my god thank you so much for this video😍😍😍

watafakaya
Автор

Good job dude!
But for the future make code font bigger

philippzeppelin
join shbcf.ru