我在我的應用程序類UINavigationController(與NIB),我想打開它作爲ModalView。UINavigationController作爲ModalView
我這樣做,那麼:(彩光電是僅此的UINavigationController類)
ColorInfo *InfoScreen = [[ColorInfo alloc] initWithNibName:@"ColorInfo" bundle:[NSBundle mainBundle]];
[InfoScreen setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
[self presentModalViewController:InfoScreen animated:YES];
它顯示我一個空UINavigtionController元素。請告訴我,如何在ModalView中打開ColorInfo(作爲UINavigationController),在那裏我將能夠瀏覽? 我想我可以用所有的pushViewController方法完成ColorInfo,然後在ModalView的另一個屏幕上打開它。
告訴我如何達到這個效果。
你繼承的UINavigationController? – Yoeri