Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)viewDidLoad
- {
- // Load data in background while displaying an activity indicator
- NSLog(@"start HUD progress");
- HUD = [[MBProgressHUD alloc] initWithView:self.navigationController.view];
- [self.navigationController.view addSubview:HUD];
- HUD.delegate = self;
- HUD.labelText = @"Loading";
- [HUD showWhileExecuting:@selector(loadDataFromWeb) onTarget:self withObject:nil animated:YES];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement