title: iOS - TableView takes time to display
body: <p>I have implemented a <code>UITableView</code> programmatically and it works fine but the only problem is that once i run the application, it just shows a white window and then after about 5 - 10 seconds, it displays the tableView. Is there a way to make it display the tableView faster?
  This is what I have so far:</p>
  
  <pre><code>ACAccountStore *account = [[ACAccountStore alloc]init];
      ACAccountType *accountType = [account accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierTwitter];
  
      [account requestAccessToAccountsWithType:accountType options:nil completion:^(BOOL granted, NSError *error) {
  
          if (granted == YES) {
  
              _accountNumbers = [account accountsWithAccountType:accountType];
  
              if ([_accountNumbers count] &gt; 1) {
  
                  //create a nagigation bar
  
  
                  //create a table view
                  self.tableView = [self createTableView];
                  [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"Cell"];
                  [self.view addSubview: self.tableView];
  
              }
  
  - (UITableView *) createTableView {
  
      CGFloat x = 0;
      CGFloat y = 50;
      CGFloat width = self.view.frame.size.width;
      CGFloat height = self.view.frame.size.height;
      CGRect tableFrame = CGRectMake(x, y, width, height);
  
      UITableView *tableView = [[UITableView alloc]initWithFrame:tableFrame style:UITableViewStylePlain];
  
      tableView.rowHeight = 45;
      tableView.sectionFooterHeight = 22;
      tableView.sectionHeaderHeight = 22;
      tableView.scrollEnabled = YES;
      tableView.showsVerticalScrollIndicator = YES;
      tableView.userInteractionEnabled = YES;
      tableView.bounces = YES;
  
      tableView.delegate = self;
      tableView.dataSource = self;
  
      return tableView;
  
  
  }
  </code></pre>
  
  <p>Is there a reason why it delays the tableView from being shown?</p>