title: Could not resize the activity indicator in iOS 5.0?
body: <p>In my Universal app, in iPAd part I am resizing the activity indicator...</p>
  
  <p>I want to resize my activity indicator..</p>
  
  <p>But there are really iOS problems 
  first here is my code...</p>
  
  <pre><code>-(void)startSpinner {
  
      spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
  
  
  
  /*spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; */    
          spinner.hidden = NO;
  
  
      NSLog(@"Start Spinner");   
  
      if([self isPad])
   spinner.frame = CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height/2,100, 100);
  else
   spinner.frame = CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height/2,50, 50);
  
  
  
       NSLog(@"Dpinner size %f",spinner.frame.size.width);
  
          [spinner setHidesWhenStopped:YES];
  
  
             [self.view addSubview:spinner];
                  [self.view bringSubviewToFront:spinner];
          /*1*/       **[spinner setColor:[UIColor blackColor]];**
                  [spinner startAnimating];
  
          }
  </code></pre>
  
  <p>Problem 1:</p>
  
  <p>iOS 5.0 : It is showing me activity indicator but could not resize it.
    Size is not changing in isPAd Method.</p>
  
  <p>iOS 4.3 :
  It is giving me Signal Abort Error on changing the color. /<em>1</em>/Bolded Line in code to set color.
  Here If I remove setColor in iOS 5.0 in <strong>WhiteLargeStyle</strong> it is not showing me in White background. </p>
  
  <p>Here If I use Activity Indicator style like <strong>gray</strong> it is absolutely small in iPAd.works but could not resize.</p>
  
  <p>In iOS 4.3 frame get effects but ios 5.0 frames are not effective...</p>
  
  <p>So, How should I resize the activity indicator...</p>