UIScrollView contentSize not working

前端 未结 15 1605
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 06:18

I put a UIScrollView in my nib\'s view, and linked it to a an IBOutlet property.

Now, when I do this in my viewDidLoad

15条回答
  •  佛祖请我去吃肉
    2020-11-28 07:04

    I used to do set up the uiscrollview programmatically UNTIL I watched the following wonderful tutorial, step by step how to get uiscrollview and uiview to work: https://www.youtube.com/watch?v=PgeNPRBrB18

    After watching the video you will start liking Interface Builder I am sure.

    Vote up

提交回复
热议问题