一个新建的 Scroll View 如图所示
如果发现 Content 中放的物体明明已经远远超过了屏幕,但是 Scroll View 被拖动之后总是会回到原位置,那么一个可能的原因是,Contect 的 Height 小于 Scroll View 的 Height
解决方法就是把 Contect 的 Height 调大,大于 Scroll View 的 Height
因为其实 Scroll View 判断自己的内容是使用 Contect 来判断的,与 Contect 底下有什么是无关的
就算你 Contect 底下有再多的东西,如果你 Contect 本身的 Rect 小,那只能证明是溢出了 Contect 而已