From 6c9190dfc3f2684d7ca9953286db444d662c3cec Mon Sep 17 00:00:00 2001 From: Okhan Okbay Date: Tue, 13 Mar 2018 15:04:23 +0300 Subject: [PATCH] Update DefaultCalloutView and BasicCalloutView. --- Example/MapViewPlus/BasicCalloutView.swift | 5 ----- .../Classes/DefaultCalloutView/DefaultCalloutView.swift | 2 -- 2 files changed, 7 deletions(-) diff --git a/Example/MapViewPlus/BasicCalloutView.swift b/Example/MapViewPlus/BasicCalloutView.swift index 649ae73..a939fa8 100644 --- a/Example/MapViewPlus/BasicCalloutView.swift +++ b/Example/MapViewPlus/BasicCalloutView.swift @@ -21,11 +21,6 @@ class BasicCalloutView: UIView { @IBOutlet weak var imageView: UIImageView! @IBOutlet weak var button: UIButton! - override func awakeFromNib() { - super.awakeFromNib() - isUserInteractionEnabled = true - } - @IBAction func buttonTouchDown(_ sender: Any) { delegate?.detailButtonTapped(withTitle: label.text!) } diff --git a/MapViewPlus/Classes/DefaultCalloutView/DefaultCalloutView.swift b/MapViewPlus/Classes/DefaultCalloutView/DefaultCalloutView.swift index 6359beb..15a408c 100644 --- a/MapViewPlus/Classes/DefaultCalloutView/DefaultCalloutView.swift +++ b/MapViewPlus/Classes/DefaultCalloutView/DefaultCalloutView.swift @@ -69,8 +69,6 @@ open class DefaultCalloutView: UIView { super.awakeFromNib() layer.cornerRadius = 5 imageView.layer.cornerRadius = 2 - - isUserInteractionEnabled = true } @IBAction func buttonBackgroundTouchDown(_ sender: Any) {