title: Changing the size of tableview programmatically
body: <p>I have created a table view like this</p>
  
  <pre><code>@interface RootViewController : UITableViewController{
  
  }
  </code></pre>
  
  <p>Now i want to change the origin &amp; size of the tableview before displaying.</p>
  
  <p>How can i change it ?</p>
  
  <p>Edit :</p>
  
  <pre><code>- (id) initWithCoder:(NSCoder *)aDecoder
  {
      self = [super initWithStyle:UITableViewStyleGrouped];
      self.tableView.frame=CGRectMake(50, 210, self.view.frame.size.width, self.view.frame.size.height);
      return self;
  }
  </code></pre>
  
  <p>The problem now i am facing is i have set following code .Now the table view still showing from top position of my view controller(0,0) not according to my x,y position.But if i change the style to group or plain it is only happening properly .</p>