【发布时间】:2016-05-12 00:48:24
【问题描述】:
当我将它添加到我的UICollectionViewController 子类时,iOS9 中的重新排序工作正常
override func collectionView(collectionView: UICollectionView,
moveItemAtIndexPath sourceIndexPath: NSIndexPath,
toIndexPath destinationIndexPath: NSIndexPath)
当这个 UICollectionViewController 子类嵌入到容器视图中时,它不起作用。
我已经做了一个问题的演示here
关于为什么或如何解决它的任何想法?
【问题讨论】:
-
用@Scooter here的解决方案更新示例
标签: ios swift uicollectionview ios9