title: How to Implement UIProgressView in iphone sdk
body: <p>I have this code in a button click <code>[NSThread detachNewThreadSelector: @selector(spinBegininapp) toTarget:self withObject:nil];</code> to show a activity indicator for user that the background thread is running ,i put this code to enable the activity-indicator</p>
  
  <pre><code>- (void)spinBegininapp
  {
      _activityindictor.hidden = NO;
  
  }
  </code></pre>
  
  <p>and it works fine,when i click the button it shows the activity-indictor animating ,when the thread goes it hides the activity-indicator,but my need is to show a progressView instead of activity-indicator,it progresses according to the thread,and if the thread finishes it need to reach progress completely and self hide.is that possible .</p>