0
我需要顯示標籤欄控制器動畫完成時,但我不知道如何做到這一點,我嘗試與if(!AnitmationimageView.isAnimating),雖然或做但沒有工作飛濺animationimageview顯示選項卡欄
這是我的代碼:
-(void)viewDidLoad{
[self.tabBarController.tabBar setHidden:YES];
AnitmationimageView.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"splash1.jpg"],
[UIImage imageNamed:@"splash2.jpg"],
[UIImage imageNamed:@"splash3.jpg"],
[UIImage imageNamed:@"splash4.jpg"], nil];
[AnitmationimageView setAnimationRepeatCount:1];
AnitmationimageView.animationDuration = 3;
[self.view addSubview:Loadimageview];
[self.view addSubview:AnitmationimageView];
[AnitmationimageView startAnimating];
//Her need something taht when animation finished show tabBar
[self.tabBarController.tabBar setHidden:NO];
if (imagenview.frame.size.height == 432) {
array = [NSArray arrayWithObjects:@"[email protected]",@"[email protected]",@"[email protected]",@"[email protected]",@"[email protected]", nil];
} else if (imagenview.frame.size.height == 518) {
array = [NSArray arrayWithObjects:@"[email protected]",@"[email protected]",@"[email protected]",@"[email protected]",@"[email protected]", nil];
}
}