Share via


UITableViewController.NumberOfSections(UITableView) Method

Definition

Returns the number of sections that are required to display the data.

[Foundation.Export("numberOfSectionsInTableView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr NumberOfSections(UIKit.UITableView tableView);
[<Foundation.Export("numberOfSectionsInTableView:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member NumberOfSections : UIKit.UITableView -> nativeint
override this.NumberOfSections : UIKit.UITableView -> nativeint

Parameters

tableView
UITableView

Table view displaying the sections.

Returns

IntPtr

nativeint

Implements

Attributes

Applies to