Possible fix for #1874 : problem is not reproduced with using the content view

This commit is contained in:
Guillaume BIENKOWSKI 2014-12-17 14:33:41 +01:00
parent 21c69fe477
commit 743225cdb6

View file

@ -150,8 +150,8 @@
//resize cell to match .nib size. It is needed when resized the cell to
//correctly adapt its height too
UIView *sub = ((UIView*)[arrayOfViews objectAtIndex:0]);
[self setFrame:CGRectMake(0, 0, sub.frame.size.width, sub.frame.size.height)];
[self addSubview:sub];
[self.contentView setFrame:CGRectMake(0, 0, sub.frame.size.width, sub.frame.size.height)];
[self.contentView addSubview:sub];
}
// Set selected+over background: IB lack !
[pauseButton setImage:[UIImage imageNamed:@"call_state_pause_over.png"]