How to call didFinishLaunchingWithOptions after some delay
<p>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 </p>

<blockquote>
  <p>-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName</p>
</blockquote>

<p>My didFinishLaunchingWithOptions is like</p>

<blockquote>
  <ul>
  <li>(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 
  NSString *soapMessage = [NSString stringWithFormat:...................</li>
  </ul>
  
  <p>//everything here with SOAP</p>
  
  <p>self.window.rootViewController = self.viewController;
      [self.window makeKeyAndVisible];
      return YES; }</p>
</blockquote>

<p>I wan to call this 
self.window.rootViewController = self.viewController;
    [self.window makeKeyAndVisible];
    return YES;</p>

<p>once my </p>

<blockquote>
  <p>-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
  gets finished and i get the result string.</p>
</blockquote>

<p>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.</p>

<p>How can i get that?</p>

<p>Best Regards</p>
