0
我使用这样的:抬起模式视图控制器仍然存在
https://github.com/boctor/idev-recipes/tree/master/RaisedCenterTabBar
和我通过使用所提出的模态的视图:
在BaseViewController.m中央按钮在
加入-(void) addCenterButtonWithImage:(UIImage*)buttonImage highlightImage:(UIImage*)highlightImage
只需添加观察员:
[button addTarget:self action:@selector(click:) forControlEvents:UIControlEventTouchUpInside];
然后显然实现:
-(void)click:(id)sender{
[self presentModalViewController:[[UIViewController alloc] init] animated:YES];
}
当我的视图控制器的出现,我的TabBar消失了,我怎么把它在我的屏幕上?
谁能帮助我? – 2012-07-16 02:57:33