-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.heightDic = [[NSMutableDictionary alloc]init];
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(notifi:) name:@"TestHeight" object:nil];
}
-(void)notifi:(NSNotification *)nofi
{
TestCell * cell = nofi.userInfo[@"DataView"];
NSIndexPath * indexPath = [self.tableView indexPathForCell:cell];
if (![self.heightDic objectForKey:[NSString stringWithFormat:@"%ld",(long)indexPath.section]]) {
[self.heightDic setObject:nofi.userInfo[@"DataHeight"] forKey:[NSString stringWithFormat:@"%ld",(long)indexPath.section]];
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:indexPath.section] withRowAnimation:UITableViewRowAnimationNone];
}