I have created table in which i want to expand cell when click on ‘+’ button, and add image and videos in that. At time it need to increase the particular cell hight and then show the videos and ‘+’ sign will convert into ‘-‘.

right now i added code to expand the cell as follows
-(void)cellButtonOneSelected
{
// Deselect cell
[safetChecklistsTableView deselectRowAtIndexPath:selectedIndexPath1 animated:TRUE];
// Toggle 'selected' state
BOOL isSelected = ![self cellIsSelected:selectedIndexPath1];
// Store cell 'selected' state keyed on indexPath
NSNumber *selectedIndex = [NSNumber numberWithBool:isSelected];
[selectedIndexes setObject:selectedIndex forKey:selectedIndexPath1];
// This is where magic happens...
[safetChecklistsTableView beginUpdates];
[safetChecklistsTableView endUpdates];
}
Now how to show/add videos or images in that?
Put the videos and images in a uiview and add them to your cell like if the height of cell is 50, add them on 51. and write
When this add button is pressed, call the following loop:
Hope this helps!!