Upravit

Sdílet prostřednictvím


WKInterfaceTable.InsertRows(NSIndexSet, String) Method

Definition

Adds rows to the table associated with a row controller with the specified rowType.

[Foundation.Export("insertRowsAtIndexes:withRowType:")]
public virtual void InsertRows (Foundation.NSIndexSet rowIndexes, string rowType);
abstract member InsertRows : Foundation.NSIndexSet * string -> unit
override this.InsertRows : Foundation.NSIndexSet * string -> unit

Parameters

rowIndexes
NSIndexSet

The indices at which to add the new rows.

rowType
String

The storyboard identifier associated with the row controller type.

Attributes

Remarks

The rowType must match the Identifier value associated with the row controller in the storyboard.

Unlike iOS, rows are not virtualized. Apple recommends that Watch apps use fewer than 20 rows.

Applies to