先附上图片
请问下,我在设置中点击主题设置之后,标签控制器如何跳转到首页。
我的方法是[self.navigationController presentModalViewController:main animated:YES[;
但是这样做会导致我首页的图片无法展示,而且底部的标签切换也都不见了
请问下,我在设置中点击主题设置之后,标签控制器如何跳转到首页。
我的方法是[self.navigationController presentModalViewController:main animated:YES[;
但是这样做会导致我首页的图片无法展示,而且底部的标签切换也都不见了
presentModalViewController是弹出模式对话框的API,如果出现你的情况,至少标签bar是被包含在navigationController中的。应该用一个mainController包含navigationController和标签bar的controller,如果需要返回首页,则对mainController进行操作,而不是navigationController