UITableView.RegisterNibForHeaderFooterViewReuse Method

Definition

Overloads

RegisterNibForHeaderFooterViewReuse(UINib, NSString)

Specifies the nib file to use for headers or footers.

RegisterNibForHeaderFooterViewReuse(UINib, String)

Registers a nib object (containing a UITableViewHeaderFooterView) with the given identifier string.

RegisterNibForHeaderFooterViewReuse(UINib, NSString)

Specifies the nib file to use for headers or footers.

[Foundation.Export("registerNib:forHeaderFooterViewReuseIdentifier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegisterNibForHeaderFooterViewReuse (UIKit.UINib nib, Foundation.NSString reuseIdentifier);
abstract member RegisterNibForHeaderFooterViewReuse : UIKit.UINib * Foundation.NSString -> unit
override this.RegisterNibForHeaderFooterViewReuse : UIKit.UINib * Foundation.NSString -> unit

Parameters

nib
UINib
reuseIdentifier
NSString
Attributes

Applies to

RegisterNibForHeaderFooterViewReuse(UINib, String)

Registers a nib object (containing a UITableViewHeaderFooterView) with the given identifier string.

public void RegisterNibForHeaderFooterViewReuse (UIKit.UINib nib, string reuseIdentifier);
member this.RegisterNibForHeaderFooterViewReuse : UIKit.UINib * string -> unit

Parameters

nib
UINib

A nib object created from a nib file. This value cannot be null.

reuseIdentifier
String

Remarks

After a nib object has been registered with a table view, as section header and footer views come into view, the appropriate UITableViewHeaderFooterViews will be instantiated as necessary from the nib object if there is not already an instance in the reuse queue.

Applies to