selectItemAtIndexPath 正常执行 scrollToItemAtIndexPath 崩溃

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: {length = 2, path = 0 - 2}'

大牛们有木有遇到过?

你可能感兴趣的:(selectItemAtIndexPath 正常执行 scrollToItemAtIndexPath 崩溃)