Here is my code under viewDidLoad method of a single ViewController as a child of my PageViewController.
- (void)viewDidLoad {
[super viewDidLoad];
[KVNProgress showWithStatus:@"Loading"]; // Not shown on child vc, see attached screen shot
[[DataManager sharedInstance]getWeatherReportForPlace:@"Kolkata" completionBLock:^(WeatherReport *report, NSError *error) {
[KVNProgress showSuccessWithStatus:@"Success"];
}];
}
If I add [KVNProgress showWithStatus:@"Loading"]; inside completionBlock then it's working but it is only showing success.
But I want a Loading until the completion Block finish it's execution.For that I need to put the [KVNProgress showWithStatus:@"Loading"]; outside completionBlock.
Here is my scenario
