2011-12-15 2 views

답변

1

현재보기에 추가하는 방법을 보여줄 코드가 없으면 누구나 나를 도와 줄 수 없습니다. 이것으로, 이것은 데이터를 업데이트하는 동안 MBProgressHUD를 표시하는 모달 UITableViewController 인 내 응용 프로그램 중 하나에서 사용중인 코드 조각입니다.

HUD = [[MBProgressHUD alloc] initWithView:self.view]; 
[self.view addSubview:HUD]; 
// Regiser for HUD callbacks so we can remove it from the window at the right time 
HUD.delegate = self; 
HUD.labelText = @"Creating Company"; 
HUD.detailsLabelText = @"Please Wait"; 
// Show the HUD while the provided method executes in a new thread 
[HUD showWhileExecuting:@selector(sendNewCompanyInformation) onTarget:self withObject:nil animated:YES]; 
0

나는 동일한 문제가있었습니다. SVProgressHUD를 사용하여 HUD를 만들었는데, iOS8에서 모달 창과 함께 작동합니다.

관련 문제