나는 그림 모음을 보여주는 MainStoryboard.storyboard
에서 Collection View를 사용하고 있습니다. 나는 항목, 즉 다음과 같은 방법을 선택한 경우 테이블보기로 수집보기에서 가고 싶은 :collectionView에있는 tableView IOS
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
은 어떻게 선택 후 collectionView의 방법에있는 tableView를로드 할 수 있습니다 ?
내 방식 :
UIViewController *vc = [[UIStoryboard storyboardWithName:@"SubCategories" bundle:nil] instantiateViewControllerWithIdentifier:@"SubCategories"];
[self.view addSubview:vc.view ];
현재 장면에 뷰를 추가하지 않고 새 장면을 분할해야합니다. – Paulw11
콜뷰 뷰의 방법에서이를 수행하려면 자세히 설명해주십시오. @ Paulw11 – developer
'performSegueWithIdentifier' 사용법 검색 – Paulw11