NSMutableArray *newhealthArr = [NSMutableArray new];
NSArray *healthTitleArr = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"HealthTitlePlist.plist" ofType:nil]];
if ([model.titleStr isEqualToString:@"健康信息"])
{
NSMutableArray *arr = [NSMutableArray new];
NSArray *ifnArr = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"健康信息.plist" ofType:nil]];
for ( NSString *str in ifnArr)
{
for (PersonalIfnDetailModel *detailModel in model.contentArr)
{
if ([detailModel.keyStr isEqualToString:str])
{
[arr addObject:detailModel];
}
}
}
[model.contentArr removeAllObjects];
[model.contentArr addObjectsFromArray:arr];