删除表视图Xamarin.iOS中的节索引
我只是想有一个分组表视图,而不绘制自动绘制的侧断面索引部分 我只能找到删除表视图Xamarin.iOS中的节索引,ios,xamarin.ios,Ios,Xamarin.ios,我只是想有一个分组表视图,而不绘制自动绘制的侧断面索引部分 我只能找到 tblProducts.SectionIndexMinimumDisplayRowCount = 1000000000; 但这不仅没有绘制剖面索引,但仍保留了空间。请参见 上面的方法返回一组标题,这些标题将作为索引显示在表视图中,您只需返回null,SectionIndex将永远不会出现 public override String[] SectionIndexTitles (UITableView tableView)
tblProducts.SectionIndexMinimumDisplayRowCount = 1000000000;
但这不仅没有绘制剖面索引,但仍保留了空间。请参见
上面的方法返回一组标题,这些标题将作为索引显示在表视图中,您只需返回null
,SectionIndex将永远不会出现
public override String[] SectionIndexTitles (UITableView tableView)
{
return null;
}