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