2012-06-07 24 views

Respuesta

9

Sí se podría hacer algo como esto:

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

creo que se debe añadir la línea de inicio de 'MBProgressHUD'. – Raptor

Cuestiones relacionadas