J'ai un projet dans lequel j'ai besoin de mettre deux UITableView
sur un UIView
.Est-il possible de mettre deux UITableview dans un UIView
Je sais qu'il a besoin de définir <UITableViewDelegate,UITableViewDataSource>
et peut fonctionner ci-dessous:
-(NSString *) tableView:(UITableView *) tableView
titleForHeaderInsection:(NSInteger)section
- (NSInteger) numberOfSectionsInTableView:(UITableView *)tableView
- (NSInteger)tableView:(UITableView *)tableView
numberOfRowsInSection:(NSInteger)section
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
-(NSIndexPath *)tableView:(UITableView *)tableView
willSelectRowAtIndexPath:(NSIndexPath *)indexPath
- (void)tableView:(UITableView *)tableView
didSelectRowAtIndexPath:(NSIndexPath *)indexPath
, mais je ne sais pas si ceux-ci peuvent traiter deux tableviews (différentes de 2 sections).