1
好的,所以我在Xcode中构建了一个基本的UICollectoion视图应用程序,关闭了Ray Wenderlich网站上的教程,当我开始运行它时,它搜索照片,然后然后我得到一个错误与这行代码...HSC ASSESMENT - UICollectionView信号SIGABRT
- (UICollectionViewCell *)collectionView:(UICollectionView *)cv cellForItemAtIndexPath:(NSIndexPath *)indexPath {
UICollectionViewCell *cell = [cv dequeueReusableCellWithReuseIdentifier:@"FlickrCell " forIndexPath:indexPath]; //< error on this line
cell.backgroundColor = [UIColor whiteColor];
return cell;
}
什么会解决此问题,并允许应用继续运行?
错误说什么? – jhilgert00 2013-02-14 00:36:22