WKInterfaceTable.SetNumberOfRows(nint, 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.
Sets the total number of rows in the table, all of which are associated with a row controller with the specified rowType
..
[Foundation.Export("setNumberOfRows:withRowType:")]
public virtual void SetNumberOfRows (nint numberOfRows, string rowType);
abstract member SetNumberOfRows : nint * string -> unit
override this.SetNumberOfRows : nint * string -> unit
Parameters
- numberOfRows
- System.System.IntPtr System.nativeint
The number of rows desired in the table.
- 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.