Declared in RCTScrollableProtocol.h

Overview

Contains any methods related to scrolling. Any RCTView that has scrolling features should implement these methods.

Tasks

Properties

contentSize

@property (nonatomic, readonly) CGSize contentSize

nativeMainScrollDelegate

@property (nonatomic, weak) NSObject<UIScrollViewDelegate> *nativeMainScrollDelegate

Instance Methods

scrollToOffset:

- (void)scrollToOffset:(CGPoint)offset

scrollToOffset:animated:

- (void)scrollToOffset:(CGPoint)offset animated:(BOOL)animated

zoomToRect:animated:

- (void)zoomToRect:(CGRect)rect animated:(BOOL)animated