开发者

Scroll 2 (or more) tableViews at once

开发者 https://www.devze.com 2023-02-15 23:22 出处:网络
I\'m working on a very interesting project and I want to expand it. I have a开发者_StackOverflow中文版 new feature which I want to include and it needs some tableViews on one view. But now, they\'re

I'm working on a very interesting project and I want to expand it.

I have a开发者_StackOverflow中文版 new feature which I want to include and it needs some tableViews on one view. But now, they're side by side to each other and they need to scroll at the same time to the same point.

How can I do this? I didn't found any Delegate-methods or properties.

Thanks in advance, mavrick3.


Use

- (void)scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated

on one table when you detect scrolling on the other with the delegate method

scrollViewDidScroll: or maybe some of the other members of UIScrollViewDelegate

0

精彩评论

暂无评论...
验证码 换一张
取 消