2017-05-18 9 views

答えて

0

のObjective-C

UIViewController *currentVisibleViewController = [self.tabBarController.viewControllers objectAtIndex:self.tabBarController.selectedIndex]; 

//Add ActivityIndicator on currentVisibleViewController.view 

スウィフト-3

let currentVisibleViewController = self.tabBarController?.viewControllers?[(self.tabBarController?.selectedIndex)!] 
//Add ActivityIndicator on currentVisibleViewController.view 
関連する問題