From 6ecf1f7ee008736e354a6f5a8ebe6f718fdb17fc Mon Sep 17 00:00:00 2001 From: Brieuc Viel Date: Mon, 3 Oct 2016 14:17:16 +0200 Subject: [PATCH] [InApp] product cell button info + pop-up added --- Classes/LinphoneUI/UIShopTableCell.m | 9 +++++++++ Classes/LinphoneUI/UIShopTableCell.xib | 17 ++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/Classes/LinphoneUI/UIShopTableCell.m b/Classes/LinphoneUI/UIShopTableCell.m index 70a26d49a..c3eb39324 100644 --- a/Classes/LinphoneUI/UIShopTableCell.m +++ b/Classes/LinphoneUI/UIShopTableCell.m @@ -53,6 +53,15 @@ UIImageView *infoImage; #pragma mark - +- (IBAction)onDetails:(id)event { + UIAlertView *descriptionView = [[UIAlertView alloc] initWithTitle:@"Product" + message:self.descriptionLabel.text + delegate:nil + cancelButtonTitle:@"OK" + otherButtonTitles:nil]; + [descriptionView show]; +} + - (void)touchUp:(id)sender { [self setHighlighted:true animated:true]; } diff --git a/Classes/LinphoneUI/UIShopTableCell.xib b/Classes/LinphoneUI/UIShopTableCell.xib index 0ccd72b80..a38a5c5d8 100644 --- a/Classes/LinphoneUI/UIShopTableCell.xib +++ b/Classes/LinphoneUI/UIShopTableCell.xib @@ -9,7 +9,6 @@ - @@ -35,14 +34,21 @@ - - - - + @@ -53,6 +59,7 @@ +