1
This commit is contained in:
@@ -205,8 +205,10 @@ static NSString * const kMySkinCellId = @"kMySkinCellId";
|
||||
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
|
||||
if (!self.isEditingMode) {
|
||||
// 非编辑态:可在此进入详情,当前示例不处理
|
||||
KBMyTheme *theme = self.data[indexPath.item];
|
||||
[collectionView deselectItemAtIndexPath:indexPath animated:YES];
|
||||
KBSkinDetailVC *vc = [[KBSkinDetailVC alloc] init];
|
||||
vc.themeId = theme.themeId;
|
||||
[self.navigationController pushViewController:vc animated:true];
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user