title: how to reload or refresh a view in iphone?
body: <p>i have a uitableviewcontroller
  here is the .h file code</p>
  
  <pre><code>@interface addToFavourites : UITableViewController {
  
  }
  
  @end
  </code></pre>
  
  <p>and here is the .m file code</p>
  
  <pre><code>#import "addToFavourites.h"
  
  
  @implementation addToFavourites
  
  - (id)initWithStyle:(UITableViewStyle)style {
      if (self = [super initWithStyle:style]) {
      }
      return self;
  }
  
  
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
      return 1;
  }
  
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
      return 5;
  }
  
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
      static NSString *MyIdentifier = @"MyIdentifier";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
      if (cell == nil) {
          cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:MyIdentifier] autorelease];
      }
      // Configure the cell
  
      return cell;
  }
  
  @end
  </code></pre>
  
  <p>and in another class i am showing this view using this code</p>
  
  <pre><code>addToFavouritesobj = [[addToFavourites alloc] initWithStyle:UITableViewStylePlain];
          [self.navigationController pushViewController:addToFavouritesobj animated:YES]; 
  </code></pre>
  
  <p>how do i call reload method of this <code>uitableviewcontroller</code> class?</p>
  
  <p>there is no need of declaring tableview because this view automatically genrating a table</p>
  
  <p>i am very confused how to reload the table?</p>