Thanks to an IT god, I can do IT, here to thank him!!

Put a UITableViewController inside the cell of the UICollectionView that tries to slide left and right to achieve the following effect:

The key is how do I customize the size of the cell in the UICollectionView

Remember to follow uicollection view delegate flow layout - (CGSize)collectionView:(UICollectionView) *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {  return self.collectionView.bounds.size; // return CGSizeMake(300, 300); }Copy the code

Learned:

⚠️ There are generally two ways to modify attributes, one is assignment and the other is returned by proxy method, which generally has a higher priority