我已經使用singleton類的activityIndicator.Then我會打電話給那個類,我曾經想要的。加載時沒有問題,但推送到其他視圖控制器時,加載沒有出現。如何顯示activityIndicator,同時推送到視圖控制器在目標c
- (void)editBtntapped
{
[loading showLoadingView:self.view ForSubView:self.view];
Screen_Participant_Edit *controller=[[Screen_Participant_Edit alloc]init];
[self.navigationController pushViewController:controller animated:NO];
[controller release];
}
加載是sigleton類的對象。
我試過這個活動指標是後視圖加載。 –