我想在按下按钮移动另一个按钮时显示进度条ViewController
(这ViewController
是从 WebService 加载大量数据),加载后所有数据进度条都将被关闭。
我的意思是首先按下一个按钮,然后ViewController
在加载所有数据后立即移动到另一个带有进度条和进度条的按钮。
在这里,我添加了移动到另一个的代码ViewController
:
UIStoryboard *sb=[UIStoryboard storyboardWithName:@"Main" bundle:nil];
Guide *guideVC = [sb instantiateViewControllerWithIdentifier:@"Guide"];
[self.navigationController pushViewController:guideVC animated:YES];
WebService 只是简单地viewDidLoad
在 new 上获取方法ViewController
。
我怎样才能做到这一点。任何人都给出解决方案。