I am parsing using SOAP, in the didFinishLaunchingWithOptions method, only for the first time app gets launch. The issue is, my view gets called before the xml is parsed using
-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
My didFinishLaunchingWithOptions is like
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *soapMessage = [NSString stringWithFormat:...................
//everything here with SOAP
self.window.rootViewController = self.viewController; [self.window makeKeyAndVisible]; return YES; }
I wan to call this self.window.rootViewController = self.viewController; [self.window makeKeyAndVisible]; return YES;
once my
-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName gets finished and i get the result string.
Currently, i got the result string after sometime, in the next view. I just want to call the next view, once i got the result string.
How can i get that?
Best Regards