編集

次の方法で共有


UITableView.DequeueReusableHeaderFooterView Method

Definition

Overloads

DequeueReusableHeaderFooterView(String)

Returns a reusable header/footer view identified by reuseIdentifier

DequeueReusableHeaderFooterView(NSString)

Returns a reusable UITableViewHeaderFooterView for the given reuseIdentifier.

DequeueReusableHeaderFooterView(String)

Returns a reusable header/footer view identified by reuseIdentifier

public UIKit.UITableViewHeaderFooterView DequeueReusableHeaderFooterView (string reuseIdentifier);
member this.DequeueReusableHeaderFooterView : string -> UIKit.UITableViewHeaderFooterView

Parameters

reuseIdentifier
String

Returns

Applies to

DequeueReusableHeaderFooterView(NSString)

Returns a reusable UITableViewHeaderFooterView for the given reuseIdentifier.

[Foundation.Export("dequeueReusableHeaderFooterViewWithIdentifier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITableViewHeaderFooterView DequeueReusableHeaderFooterView (Foundation.NSString reuseIdentifier);
abstract member DequeueReusableHeaderFooterView : Foundation.NSString -> UIKit.UITableViewHeaderFooterView
override this.DequeueReusableHeaderFooterView : Foundation.NSString -> UIKit.UITableViewHeaderFooterView

Parameters

reuseIdentifier
NSString

A string identify the type of UITableViewHeaderFooterView being requested.

Returns

A UITableViewHeaderFooterView associated with the reuseIdentifier.

Attributes

Remarks

The table reuse cache is important for efficiency and application developers should use it for dynamic tables.

Application developers targeting iOS 6 and later should use RegisterClassForHeaderFooterViewReuse(Type, String) or RegisterNibForHeaderFooterViewReuse(UINib, String). Once a UITableViewHeaderFooterView class is registered, calls to DequeueReusableHeaderFooterView(String) will return a newly-instantiated object as necessary, rather than returning null.

Applies to