Instance Method

scrollPoint:

Initiates a scroll in the layer’s closest ancestor scroll layer so that the specified point lies at the origin of the scroll layer.

Declaration

- (void)scrollPoint:(CGPoint)p;

Parameters

thePoint

The point in the current layer that should be scrolled into position.

Discussion

If the layer is not contained by a CAScrollLayer object, this method does nothing.

See Also

Scrolling

visibleRect

The visible region of the layer in its own coordinate space.

- scrollRectToVisible:

Initiates a scroll in the layer’s closest ancestor scroll layer so that the specified rectangle becomes visible.