diff --git a/iphone/Maps/Core/Ads/Mopub/MPNativeAd+MWM.mm b/iphone/Maps/Core/Ads/Mopub/MPNativeAd+MWM.mm index 3ab35218df..44428d0ed5 100644 --- a/iphone/Maps/Core/Ads/Mopub/MPNativeAd+MWM.mm +++ b/iphone/Maps/Core/Ads/Mopub/MPNativeAd+MWM.mm @@ -39,9 +39,11 @@ { [self willAttachToView:self.associatedView]; for (UIButton * button in buttons) + { [button addTarget:self - action:@selector(adViewTapped) - forControlEvents:UIControlEventTouchUpInside]; + action:@selector(adViewTapped) + forControlEvents:UIControlEventTouchUpInside]; + } } self.hasAttachedToView = YES; } diff --git a/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib b/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib index 0cf5eacdb8..134d801f77 100644 --- a/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib +++ b/iphone/Maps/UI/Search/TableView/MWMSearchCommonCell.xib @@ -94,19 +94,6 @@ + @@ -199,9 +199,6 @@ - - -