diff --git a/Classes/LinphoneUI/UIDeviceCell.h b/Classes/LinphoneUI/UIDeviceCell.h index bee4bafe4..0d41bbd60 100644 --- a/Classes/LinphoneUI/UIDeviceCell.h +++ b/Classes/LinphoneUI/UIDeviceCell.h @@ -7,7 +7,7 @@ #import -@interface UIDeviceCell : UITableViewCell +@interface UIDeviceCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *deviceLabel; @property (weak, nonatomic) IBOutlet UIButton *securityButton; diff --git a/Classes/LinphoneUI/UIDeviceCell.m b/Classes/LinphoneUI/UIDeviceCell.m index f5a687034..0118c9807 100644 --- a/Classes/LinphoneUI/UIDeviceCell.m +++ b/Classes/LinphoneUI/UIDeviceCell.m @@ -35,6 +35,10 @@ } self.selectionStyle =UITableViewCellSelectionStyleNone; + UITapGestureRecognizer *particpantsBarTap = [[UITapGestureRecognizer alloc] initWithTarget:self + action:@selector(onSecurityCallClick:)]; + particpantsBarTap.delegate = self; + [self addGestureRecognizer:particpantsBarTap]; } - (IBAction)onSecurityCallClick:(id)sender { diff --git a/Classes/LinphoneUI/UIDevicesDetails.h b/Classes/LinphoneUI/UIDevicesDetails.h index 36a91a1df..f69c2d10b 100644 --- a/Classes/LinphoneUI/UIDevicesDetails.h +++ b/Classes/LinphoneUI/UIDevicesDetails.h @@ -7,7 +7,7 @@ #import -@interface UIDevicesDetails : UITableViewCell +@interface UIDevicesDetails : UITableViewCell @property (weak, nonatomic) IBOutlet UIButton *dropMenuButton; @property (weak, nonatomic) IBOutlet UILabel *addressLabel; diff --git a/Classes/LinphoneUI/UIDevicesDetails.m b/Classes/LinphoneUI/UIDevicesDetails.m index 602e26d92..3f2abcad5 100644 --- a/Classes/LinphoneUI/UIDevicesDetails.m +++ b/Classes/LinphoneUI/UIDevicesDetails.m @@ -33,6 +33,10 @@ [_securityButton setImage:image forState:UIControlStateNormal]; _securityButton.hidden = FALSE; _dropMenuButton.hidden = TRUE; + UITapGestureRecognizer *particpantsBarTap = [[UITapGestureRecognizer alloc] initWithTarget:self + action:@selector(onSecurityCallClick:)]; + particpantsBarTap.delegate = self; + [self addGestureRecognizer:particpantsBarTap]; } else { UIImage *image = listOpen ? [UIImage imageNamed:@"chevron_list_open"] : [UIImage imageNamed:@"chevron_list_close"]; [_dropMenuButton setImage:image forState:UIControlStateNormal];