Napp2DScrollView icon indicating copy to clipboard operation
Napp2DScrollView copied to clipboard

how can I center on a region programmatically?

Open leafling opened this issue 8 years ago • 0 comments
trafficstars

This works beautifully for the core function of bidirectional scrolling, but is there any way to get or set the offsets to center in on a given region? Basically, I'd like to programmatically center in on an area like one would do with scrollTo() or by setting the contentOffset values.

Is there a way to do this as-is? Thanks!

leafling avatar Mar 29 '17 01:03 leafling