2011-09-20 4 views
1

UITableView를 사용하여 내 앱 정보를 표시하고 있는데 왜 tableview가 그룹화 된 스타일이 아닌지는 알지 못합니다 !! 인터페이스 빌더에서 그룹 스타일로 바뀌지 만 변경되지 않습니다 !! UITableView iPad의 그룹화 된 스타일

[1]

이렇게해야 [여기서 화상 정보 입력]!

enter image description here

편집 :

- (IBAction)infoView { 
    InfoViewController *showView = [[InfoViewController alloc]initWithNibName:nil bundle:nil]; 
    showView.modalPresentationStyle = UIModalPresentationFormSheet; 
    showView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; 
    [self presentModalViewController:showView animated:YES]; 
    [showView release]; 
} 

INFOviewController가 jQuery과 기반 서브

@interface InfoViewController : UITableViewController 
+0

이보기 컨트롤러가 생성되는 코드를 표시 할 수 있습니까? – Anna

+0

내 편집 게시물보기 : –

+0

장치에서 테스트했습니다. –

답변

1
InfoViewController *showView = [[InfoViewController alloc]initWithNibName:InfoViewController bundle:nil]; 

Nib 이름을 지정하지 않으면 Xib의 변경 사항이 무시됩니다.

관련 문제