RearViewController.m
-(IBAction)unwindFromViewControllerUIStoryboardSegue *)segue
{
if ([segue.identifier isEqualToString"unwindToViewController"]) {
ViewController *detail = [self.storyboard instantiateViewControllerWithIdentifier"ViewController"];
[self presentViewController:detail animated:YES completion:nil];
}
}
如果我从我的 RearViewController
中单击返回,则不会显示 ViewController
,而是会偷看并熄灭(再次显示 RearViewcontroller
)。
图像2
我给你一个解决方案。
1.First remove triggered segue connection.
2.After that give push segue connection to Back to your required view controller.
3.Click Back Button Segue and give Identifier name as "goToMainViewController" or whatever you want just give there.Also segue should be "push".
谢谢
关于ios - 带有滑出菜单的标签栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31695820/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |