From 743225cdb68e9a61ca17f601bb9847f6561c2a1f Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 17 Dec 2014 14:33:41 +0100 Subject: [PATCH] Possible fix for #1874 : problem is not reproduced with using the content view --- Classes/LinphoneUI/UICallCell.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/LinphoneUI/UICallCell.m b/Classes/LinphoneUI/UICallCell.m index 889a33e44..698a1bfd3 100644 --- a/Classes/LinphoneUI/UICallCell.m +++ b/Classes/LinphoneUI/UICallCell.m @@ -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"]