WKInterfaceTable.InsertRows(NSIndexSet, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute des lignes à la table associée à un contrôleur de lignes avec le spécifié 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
Paramètres
- rowIndexes
- NSIndexSet
Index auxquels ajouter les nouvelles lignes.
- rowType
- String
Identificateur de storyboard associé au type de contrôleur de ligne.
- Attributs
Remarques
rowType doit correspondre à la Identifier valeur associée au contrôleur de ligne dans le storyboard.
Contrairement à iOS, les lignes ne sont pas virtualisées. Apple recommande que les applications Watch utilisent moins de 20 lignes.