私はMBProgressHUDからrssパーサーを呼び出し、現時点ではviewdidappearにあり、機能しますが、viewdidloadに入れたいので、戻ったときにリロードされません-ただし、viewdidloadに移動すると、プロセスは実行されますが、実行されませんMBProgressHUD。
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"Results";
HUD = [[MBProgressHUD alloc] initWithWindow:[UIApplication sharedApplication].keyWindow];
[self.view.window addSubview:HUD];
HUD.delegate = self;
HUD.labelText = @"Loading";
HUD.detailsLabelText = @"updating data";
//Show the HUD while the provided method executes in a new thread
[HUD showWhileExecuting:@selector(loadResults) onTarget:self withObject:nil animated:YES];
}
何か案は?
ありがとう、トム