WKInterfaceTable.InsertRows(NSIndexSet, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.