[英]Action sheet loads for 1st time with an space from the bottom of the screen?
[英]iphone:In view based application how can I move from 4th screen to 1st screen
我正在创建基于视图的应用程序,在此应用程序中,我想直接从第4屏幕切换到第1屏幕,然后该怎么做?
我要转到下一个视图的代码如下:
NewProposalDetail *newDetail = [[NewProposalDetail alloc] initWithNibName:@"NewProposalDetail" bundle:nil];
[self presentModalViewController:newDetail animated:YES];
[newDetail release];
任何想法? 如果是,然后分享
使用pushViewControllers
和popViewControllers
将屏幕popViewControllers
到任何其他屏幕的方式相同。 采用
[self.navigationController popToRootViewControllerAnimated:YES];
第一个视图是您看到的根视图,因此只需放置此行,它将拾取firstView。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.