To be able to customise the static table view controller dynamically you can overwrite table view delegate methods like this:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
// You can change the number of sections here...
return [super numberOfSectionsInTableView:tableView];
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
// You can change the number of rows here...
return [super tableView:tableView numberOfRowsInSection:section];
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
// You can change the returning cell of static table view here...
return [super tableView:tableView cellForRowAtIndexPath:indexPath];
}