title: How can i add UIActivityIndicator to Splash screen of my app?
body: <p>Is that possible to add UIActivityIndicator to splash screen of my app?</p>
  
  <p>Iam using following code in delegate.m file and its not working for me ..</p>
  
  <pre><code>    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      // Override point for customization after application launch.
  
      [NSThread sleepForTimeInterval:5.0];  //for running splash screen more time
       UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
  
      spinner.center = CGPointMake(139.5, 75.5); // .5 so it doesn't blur
     [self.view addSubview:spinner];
      [spinner performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1.0];
  
  
      return YES;
  }
  </code></pre>
  
  <p>Please help me</p>