UIScrollView contentSize not working

前端 未结 15 1577
没有蜡笔的小新
没有蜡笔的小新 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 06:53

    Setting the contentSize in viewDidAppear is critical.

    But I also had a variation of what worked in the 3.5 inch screen, and the 4 inch screen. The 4 inch screen worked, the older one does not. Both iOS 7. Bizarre is an understatement!

提交回复
热议问题