@implementation loadingViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// send request
}
-(void)connectionDidFinishLoading:(NSURLConnection *)connection{
//inserting the response Data in database
[self performSegueWithIdentifier:@"loadingMenuSegue" sender:self];
}
@end
我有这个错误
*断言失败 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:], /SourceCache/UIKit_Sim/UIKit-1914.84/UIWindowController.m:188
*由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:“尝试在转换已经在进行时从 to 开始模态转换。等待 viewDidAppear/viewDidDisappear 知道当前转换已经完成'