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