Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. MBProgressHUD *loadingHUD = [[MBProgressHUD alloc] init];
  2. loadingHUD.mode = MBProgressHUDModeCustomView;
  3. loadingHUD.labelText = nil;
  4. loadingHUD.detailsLabelText = nil;
  5. UIView *customView = [[UIView alloc] initWithFrame:self.view.bounds]; // Set a size
  6. // Add stuff to view here
  7. loadingHUD.customView = customView;
  8. [HUD show:YES];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement