Share via


UITableViewDataSource.TitleForHeader(UITableView, IntPtr) Method

Definition

Called to populate the header for the specified section.

[Foundation.Export("tableView:titleForHeaderInSection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual string? TitleForHeader(UIKit.UITableView tableView, IntPtr section);
[<Foundation.Export("tableView:titleForHeaderInSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TitleForHeader : UIKit.UITableView * nativeint -> string
override this.TitleForHeader : UIKit.UITableView * nativeint -> string

Parameters

tableView
UITableView

Table view containing the section.

section
IntPtr

nativeint

Index of the section displaying the header.

Returns

Implements

Attributes

Applies to