IPhone & IPad/작은 팁2010/06/28 16:50

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

return YES;

}


했는데도 Rotate가 안될때.


pushViewController할때의 코드가 만약 alloc만으로 되어 있는 코드라면


subView = [subViewController alloc];

[navigationController pushViewController:subView animated:YES];


initialize한 후 pushViewController를 하면 됩니다.


subViewController = *subView = [[subViewController allocinit];

[navigationController pushViewController:subView animated:YES];

크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by Johan Kim hiphapis

TRACKBACK http://hiphapis.net/trackback/174 관련글 쓰기

댓글을 달아 주세요