2012-06-07 8 views

Antwort

9

Ja, Sie könnten etwas tun, wie folgt aus:

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

Ich denke, man sollte die init Linie 'MBProgressHUD' hinzuzufügen. – Raptor

Verwandte Themen