xcode7.3.1 错误描述:UICollectionView不显示cell ,打断点发现压根没进下面的创建cell的代理方法 -(UICollectionViewCell*)collectionV
xcode7.3.1
错误描述:UICollectionView不显示cell ,打断点发现压根没进下面的创建cell的代理方法
-(UICollectionViewCell*)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
错误代码: UICollectionViewLayout *layout = [[UICollectionViewLayout alloc]init];
改成: UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc]init];
这错误简直....