Partager via


WKInterfaceTable.InsertRows(NSIndexSet, String) Méthode

Définition

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.

S’applique à