2012-06-07 12 views

Odpowiedz

9

Tak można zrobić coś takiego:

MBProgressHUD *loadingHUD = [[MBProgressHUD alloc] init]; 
loadingHUD.mode = MBProgressHUDModeCustomView; 
loadingHUD.labelText = nil; 
loadingHUD.detailsLabelText = nil; 
UIView *customView = [[UIView alloc] initWithFrame:self.view.bounds]; // Set a size 
// Add stuff to view here 
loadingHUD.customView = customView; 
[HUD show:YES]; 
+4

myślę, że należy dodać linię init 'MBProgressHUD'. – Raptor

Powiązane problemy