我想在标签栏应用程序上添加一个加载视图,当用户更新时它会显示在屏幕顶部。我在窗口上添加了视图,但它没有定向。有什么好办法吗?
问问题
78 次
1 回答
0
在解决了这个问题之后,我得到了一些东西 How to add an overlay to a UITabbarController 这很有帮助,它对我有点用..
-(void)lodingView
{
ProcessView *LoadView = [[ProcessView alloc] init];
[tabbarcontroller presentModalViewController:LoadView animated:YES];
[tabbarcontroller.selectedViewController viewDidAppear:true];
}
我们可以通过这种方法移除加载视图。
-(void)removelodingView
{
[tabbarcontroller dismissModalViewControllerAnimated:YES];
}
于 2012-10-12T19:18:06.477 回答