I have FirstViewController (inherits from UITableViewController), and I want to show the SecondViewController (also inherits from UITableViewController) in the first section of FirstViewController.
Is there a way to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could try to put the SecondViewController.view inside the
UITableViewCellof the first section/row of your FirstViewController.But maybe the best solution is to create a subclass of
UITableView(more thanUITableViewController) and do the same, or add it to the headerView of your FirstViewController.For the code part, try something and come back if you have a problem or more precise question 🙂
Anyway, it should works ^^