我现在有一个需求是,当UITableView滚动时,需要动态改变它的显示区域的大小,
当滚动时,如果动态设置UITableView的frame, Cell中的图片会被拉伸。
如果设置UITableView的frame固定,通过设置setContentInset和setScrollIndicatorInsets属性,初始加载没有问题,
但是显示出来UITableView后, 就会像(http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/UIScrollView_pg/CreatingBasicScrollViews/CreatingBasicScrollViews.html)中最下边的截图一样,滚动的内容会被遮挡,
并且设置setContentOffset坐标任然会被遮挡。
有没有大神帮我小弟解决一下。
当滚动时,如果动态设置UITableView的frame, Cell中的图片会被拉伸。
如果设置UITableView的frame固定,通过设置setContentInset和setScrollIndicatorInsets属性,初始加载没有问题,
但是显示出来UITableView后, 就会像(http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/UIScrollView_pg/CreatingBasicScrollViews/CreatingBasicScrollViews.html)中最下边的截图一样,滚动的内容会被遮挡,
并且设置setContentOffset坐标任然会被遮挡。
有没有大神帮我小弟解决一下。