Crashes, UITableView with UICollectionViews inside on iOS 9, but works on ios10 while scrolling (scrollToRow) with SWIFT.
In the console, but not sure this is a only reason:
*** -[UICollectionView retain]: message sent to deallocated instance 0x7fa8fb085e00
I use auto-resizing cells for both of them.
In cellForRowAt of table view I do this:
cell?.collectionView.tag = indexPath.row
cell?.collectionView.delegate = self
cell?.collectionView.dataSource = self
cell?.selectionStyle = .none
cell?.collectionView.reloadData()
collectionView.collectionViewLayout.invalidateLayout()
How to properly deal with a such issue?