How to resize a UITableViewControl while presenting it as modal form sheet
I am creating a UITableViewController and setting it up as form sheet in
the storyboard. I need to re-size the view while presenting it as modal
but having issue resizing it.
I tried to use following code:
In the CustomTableViewController.m I added,
- (void)viewDidAppear:(BOOL)animated
{
self.view.superview.bounds = CGRectMake(0, 0, 432, 400);
}
But it looks like it is only resizing the table view inside not the entire
frame. Can anyone suggest how can I resize the entire frame of the form
sheet?
PS: I am not creating the form sheet in code. I am using storyboard and
have setup segue from a master view to that form sheet.
No comments:
Post a Comment