Is there a way to combine static tableview cells (static content) with dynamic tableview cells (prototype content) using storyboard?
Is there a way to combine static tableview cells (static content) with dynamic tableview
Share
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.
I suggest you treat your table as dynamic, but include the cells you always want at the top. In the Storyboard, place a
UITableViewControllerand have it use a dynamic table. Add as manyUITableViewCellprototypes to the table as you need. Say, one each for your static cells, and one to represent the variable cells.In your
UITableViewDataSourceclass:and, then