I have added SVProgressHud in my app and work really greats in most of all viewController. But its behave strangely in first child of navigation controller when i present the SVProgressHud it will displayed but after few seconds it will disappear and just activity indicator only displayed.
See this images, Displayed when i show the progressHud
This will displayed after few seconds
I am presenting this progress hud in viewDidLoad method here is my code.
- (void)viewDidLoad
{
[super viewDidLoad];
[SVProgressHUD show];
[SVProgressHUD showWithStatus:nil maskType:SVProgressHUDMaskTypeBlack];
[self performSelector:@selector(CallLanSelectDataWS) withObject:@"" afterDelay:0.1];
}
and dismissing the SVProgressHud after process completed.
Perform the task in a background thread?