【发布时间】:2012-01-03 12:53:14
【问题描述】:
在我的应用中,整个视图包含一个 webview,它是我的 secondViewController。
现在在我的网络视图中,我打开电子书。
现在我想把主页按钮放在我的网页视图中。
我的 firstViewController 是主页。
有什么方法可以从 webView 转到 home view 即 firstViewController 吗?
【问题讨论】:
-
你是如何将 secondViewController 添加到 first 的?你是把它推送到 navigationController 还是以模态方式呈现?
-
既然你已经展示了一个模态视图,只需通过 [self dismissModalViewControllerAnimated:YES]; 将其关闭