J'ai ajouté la vue de table à scrollview par programmation mais il ne défile pas. Alors que j'ai essayé la même chose en utilisant XIB. mais ça fonctionne bien.défilement de tablview ajouté par programmation désactivé
ici est mon code
cadre 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];
[scrollView addSubview:eappTable];
essayez d'activer explicitement défilement – amar
avez-vous donné la taille du contenu de scrollview? –