Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode - Progress bar under table view

i have some problem with my progress bar , its under table view my progress bar from class called MBProgressHUD

https://github.com/jdg/MBProgressHUD

this pic of my error

enter image description here

like image 512
Mohammad Shaker Avatar asked Feb 12 '23 00:02

Mohammad Shaker


1 Answers

Use this while adding loader to your code.

MBProgressHUD *hud = [[MBProgressHUD alloc] initWithView:self.view];
[self.view addSubview:hud];
hud.labelText = @"Loading...";
hud.square = YES;
[hud show:YES];
like image 81
Kaps18 Avatar answered Feb 16 '23 04:02

Kaps18