Я создаю UITableView в коде, используя следующее:
// no xib
tableView = new UITableView(
new RectangleF(0,0, this.View.Frame.Width, this.View.Frame.Height),
UITableViewStyle.Grouped);
tableView.Delegate = new VideoLibraryTVDelegate();
tableView.DataSource = new VideoLibraryTableViewDataSource(this);
tableView.AutoresizingMask = UIViewAutoresizing.FlexibleWidth |
UIViewAutoresizing.FlexibleHeight;
tableView.BackgroundColor = UIColor.FromPatternImage(this.backgroundImage);
tableView.SeparatorStyle = UITableViewCellSeparatorStyle.SingleLine;
tableView.SizeToFit ();
tableView.Frame = new RectangleF (0, 0, this.View.Frame.Width, this.View.Frame.Height);
this.View.AddSubview(tableView);
Полученный UITableView имеет визуальный артефакт:

Высота строки выполненас
public override float GetHeightForRow (UITableView tableView, NSIndexPath indexPath)
{
return tableView.RowHeight * 2.0f;
}
Как избавиться от лишних строк над ячейками таблицы?
Редактировать : Оказывается, проблема в том, что я определил контроллер контейнера длянаследовать от UITableViewController, а не UIViewController.С кодом в исходном вопросе эта проблема не была бы очевидна.