프로그래밍 방식으로 scrollview에 tableview를 추가했지만 스크롤하지 않습니다. 동안 나는 XIB를 사용하여 동일한 시도. 하지만 잘 작동합니다. 여기 프로그래밍 방식으로 tablview의 스크롤을 사용할 수 없습니다.
내 코드CGRect 프레임 = CGRectMake (30 30.0f, 900, 300.0f)이고;
eappTable = [[UITableView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame] style:UITableViewStylePlain];
eappTable.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
eappTable.delegate = self;
eappTable.dataSource = self;
eappTable.scrollEnabled = YES;
eappTable.scrollsToTop = YES;
[eappTable reloadData]; self.scrollView.contentSize
명시 적으로있는 ScrollView의 콘텐츠 크기를 준 스크롤 – amar
을 가능하게하려고? –