开发者

Scroll 2 (or more) tableViews at once

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜