2

I have a tableview, which is created within a storyboard. The cells contained inside are put as “Static cell”.

Now, I want to introduce a new section at the end of the tableview (i.e. so add some dynamic cells), and it's there that I cannot figure out how to do it.

Does anybody of you have an idea of how I can go about this?

Ryan Kohn
  • 13,079
  • 14
  • 56
  • 81
Xavier V
  • 21
  • 1
  • possible duplicate of [Combine static and prototype content in a table view](http://stackoverflow.com/questions/9322885/combine-static-and-prototype-content) – BoltClock Aug 29 '12 at 08:20

1 Answers1

0
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return actualSection+1;
}

reloadData your table whenever you add new section with update actualSection or add object in array(which you are using for table)

Amit Battan
  • 2,968
  • 2
  • 32
  • 68