@implementation loadingViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// send request
}
-(void)connectionDidFinishLoading:(NSURLConnection *)connection{
//inserting the response Data in database
[self performSegueWithIdentifier:@"loadingMenuSegue" sender:self];
}
@end
i have this error
* Assertion failure in -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:], /SourceCache/UIKit_Sim/UIKit-1914.84/UIWindowController.m:188
* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempting to begin a modal transition from to while a transition is already in progress. Wait for viewDidAppear/viewDidDisappear to know the current transition has completed'