tags:

views:

24

answers:

1

If i do this in detail view

labelb.textColor = [UIColor whiteColor];

labelb.backgroundColor = [UIColor clearColor];

then when i go back to main page and click on any row then details section are overlapping with previous details how to always clear cells when going back

+1  A: 

Implement the -viewWillDisappear method to reset the default values:

- (void) viewWillDisappear {
  //reset stuff here...
}
Jacob Relkin
do i need to add some tag value?? to label
ram
did it labelb.text=@"";
ram