編輯

共用方式為


UITableViewSource.GetViewForFooter(UITableView, nint) Method

Definition

Returns a view object to display at the end of the given section.

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

Parameters

tableView
UITableView

Table view containing the section.

section
System.System.IntPtr System.nativeint

Section index where the footer will be added.

Returns

A view to be displayed at the end of the given section.

Attributes

Remarks

Can either be a UILabel, UIImageView or a custom view. This method requires GetHeightForFooter(UITableView, nint) to be implemented as well.

Declared in [UITableViewDelegate]

Applies to