lunes, 30 de mayo de 2016

iOS: UITableView selection (row highlight)

// Multiple selections
self.tableView.allowsMultipleSelection = YES;

// Transparent "highlight" list
self.tableView.allowsSelection = NO;

UITableViewDelegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    // ...
}

No hay comentarios:

Publicar un comentario