共用方式為


UITableViewDataSource.TitleForFooter(UITableView, nint) 方法

定義

呼叫 以填入指定區段的頁尾。

[Foundation.Export("tableView:titleForFooterInSection:")]
public virtual string TitleForFooter (UIKit.UITableView tableView, nint section);
abstract member TitleForFooter : UIKit.UITableView * nint -> string
override this.TitleForFooter : UIKit.UITableView * nint -> string

參數

tableView
UITableView

包含 區段的資料表檢視。

section
System.System.IntPtr System.nativeint

顯示頁尾之區段的索引。

傳回

要在區段頁尾中顯示的文字,如果沒有 null 標題,則為 。

屬性

備註

資料表檢視會使用區段頁尾的固定樣式。 若要自訂頁尾的外觀,請從 GetViewForFooter(UITableView, nint) 傳回自訂檢視,而不是實作此方法。

適用於