阅读背景:

Swift:如何在UITableViewController中使用“didSelectItemAtIndexPath”(包含UICollectionView)?

来源:互联网 

I have a UITableViewController, inside the TableViewCell, it's a UICollectionView. I want to pass the data from the CollectionViewCell to a DetailViewController when user tapped the cell. I dragged a segue from the CollectionViewCell to the DetailViewController, and used the "didSelectItemAtIndexPath" inside the TableViewCell( which contains CollectionView), and it works.I have a UITableViewController, inside the Tabl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: