Here I am trying to insert the Sections 1
and Section 3
as soon as address get filled in Section 2
. Initially they must be hidden or still not inserted in table view. I get success in inserting the Section 3
but unable to insert Section 2
. Here is my piece of code after address get filled in Section 2
.
-(void)viewWillAppear:(BOOL)animated {
[self.reviewOrderList insertSections:[NSIndexSet indexSetWithIndex:3]
withRowAnimation:UITableViewRowAnimationBottom];
[self.reviewOrderList reloadData];
}