Content size issue for UITableView in UIscrollView
问题 I actually create a UIScrollView with a UITableView inside it with interface builder. I set the content size of my UIScrollView with: scrollView.contentSize = CGSizeMake(self.view.frame.size.width, self.view.frame.size.height); and I set my file's owner view to the UIScrollView I created an IBOutlet UITableView and I set it in the interface builder. When the view is loaded. it displays the correct content size for my UIScrollView . But it doesn't display the correct content size for my