title: iOS - Show UIActivityIndicatorView when table is being loaded
body: <p>I have a tab bar application. I have 2 questions. </p>
  
  <ul>
  <li><p>Using a default image for the
  application does that enable the
  application to initialize itself (the
  first view that is showed in
  MainView.xib) in the background while
  the image is being displayed?</p></li>
  <li><p>Touching the second tab in the
  application, the application will
  load data into a <code>UITableView</code>. This
  takes some time (fetching some data
  from the internet) so going from the
  first tab to the second tab there is
  a delay before the table is being
  showed in the second tab. I want to
  display a <code>UIActivityIndicatorView</code> while
  the <code>UITableView</code> is being populated
  and then want the
  <code>UIActivityIndicatorView</code> to disappear
  when the <code>UITableView</code> is finished
  loading. How can I achieve this?</p></li>
  </ul>