Kiran Kulkarni
Kiran Kulkarni

Reputation: 1504

How to create a tableView in DetailViewController of SPLITVIEWCONTROLLER ? (IPAD)

What I all want is to display a tableView in the detailView of the splitviewController.., I could find only ImageView samples in other sites.., Would be great if Anyone let me know how it is done

Upvotes: 0

Views: 874

Answers (1)

Blounty
Blounty

Reputation: 3358

You can create a UITableViewController and add it's view to the DetailViewControllers view as a subview:

    UITableViewController *tableView = [[UITableViewController alloc] initWithStyle:UITableViewStylePlain];
    [self.view addSubview:tableView.view];

Is this what you were looking for?

Upvotes: 1

Related Questions