IIViewDeckController
here을 사용할 수 있었지만 약간의 문제가 있습니다.IIViewDeckController가 작동하지 않고 검은 색 화면으로 표시됩니다.
보기 컨트롤러를 내 storyboard
에 만들고 클래스를 IIViewDeckController
으로 지정하고 세그먼트를 생성했습니다. 루트보기 컨트롤러에서 위에서 링크 된 설명서에 설명 된 속성을 사용하여 센터 및 왼쪽 컨트롤러로 컨트롤러를 설정했습니다. 내가 설정 쇼와 컨트롤러를
if([segue.identifier isEqual: @"Deck"])
{
// prepare view controllers
CategoriesViewController* leftController = [[CategoriesViewController alloc] init];
UIViewController* rightController = nil;
ListingViewController* middle = [[ListingViewController alloc] init];
IIViewDeckController* deck = segue.destinationViewController;
deck.centerController = middle;
deck.leftController = leftController;
}
내가 코드를 실행하지만이 이벤트를 슬쩍 응답하지 않으며 내 목록보기를 포함 않는 검은 화면이 나타 오전 때 나는 오류를 얻을하지 않습니다 .
무엇이 누락 되었습니까?