iOS Developer Library

Developer

UIATableView Class Reference

Options
Deployment Target:

On This Page

UIATableView

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in iOS 4.0 and later.

The UIATableView class allows access to, and control of, elements within a table view in your app.

For an explanation of how to use this class and related classes, see Automating UI Testing in Instruments User Guide.

Inherited Methods

Table 1 provides a list of methods inherited from UIAScrollView.

Table 1Methods inherited from UIAScrollView

Method

Description

scrollDown

Scrolls down within the specified table view.

scrollLeft

Scrolls left within the specified table view.

scrollRight

Scrolls right within the specified table view.

scrollToElementWithName

Scrolls within the table view until the named element is displayed on the screen.

scrollToElementWithPredicate

Scrolls within the table view until the matching element is displayed on the screen.

scrollToElementWithValueForKey

Scrolls within the table view until the element with the specified value for the specified key is displayed on the screen.

scrollUp

Scrolls up within the specified table view.

  • Returns an array of the cells within the table view.

    Declaration

    JavaScript

    (UIAElementArray) cells()

    Availability

    Available in iOS 4.0 and later.

  • Returns an array of the groups within the table view.

    Declaration

    JavaScript

    (UIAElementArray) groups()

    Availability

    Available in iOS 4.0 and later.

  • Returns an array of the cells that are visible within the table view.

    Declaration

    JavaScript

    (UIAElementArray) visibleCells()

    Availability

    Available in iOS 4.0 and later.