English 中文(简体)
如何展示故事片? (iPeople)
原标题:How to display storyboard? (iPhone)

我先制作了一个故事片,我想用我的<条码>查询单<>。 <打字机上的初衷是<>可读密码>,<> >因此,我建立了<代码>可调用的密码<><><可调用的Controller>/code>的子级,并在故事板上设置了相应的类别。

我随后试图展示这样的故事:

StoryBoardView *newView = [[StoryBoardView alloc] init];
[self.navigationController pushViewController:newView animated:YES];

然而,我的看法没有出于某种原因。 请有人帮助我?

最佳回答

当你把观点控制者推向前进时,你需要从你的故事板中,而不是仅仅全心全意/全心全意地进行新的检查。

StoryBoardView *newView = [[self storyboard] instantiateViewControllerWithIdentifier:@"<ViewControllerIdentifier>"];
问题回答

Have you tried when viewing the storyboard, select your very first controller and tick Is Initial View Controller ? That should start your app with that controller.





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签