引用博客:
http://www.cocoachina.com/ios/20150104/10810.html
http://www.reibang.com/p/37a4f35732c7
1.Xib中使用UIScrollView,需要自己添加contentView橙依。
2.我們可以不直接確定contentView的contentSize的大小现诀,通過contentView的子視圖來間接確定contentView的大小县爬。
3.ScrollView的滾動(dòng)方向屈梁,需要設(shè)置contentView,可以設(shè)置 horizontally in container或vertically horizontally in container來確定鼻弧。