我的应用程序出现iOS9错误:
当我使用该方法时:
NSIndexPath *indexPath = [self.collectionView indexPathForItemAtPoint:self.collectionView.contentOffset];
在iOS7 / iOS8,path = 547 - 0
但iOS9,path = 546 - 36
所以我得到一个不同的部分
我不知道为什么?
答案 0 :(得分:0)
您的应用是否支持RightToLeft语言? (阿拉伯语/希伯来语)
如果是这样,可以在此处找到您的错误的原因: UICollectionView iOS 9 issue on project with RTL languages support
这与iOS 9中的Apple新RTL支持有关。 这个漏洞已报告给Apple。