How to disable default Callout view from mapkit?
<p>I need to disable default callout view from map kit, I'm using customised callout view and now Its getting both view when i click on the pin icon. </p>

<pre><code> func mapView(mapView: MKMapView, didSelectAnnotationView view: MKAnnotationView){
    let customView = (NSBundle.mainBundle().loadNibNamed("CustomCalloutView", owner: self, options: nil))[0] as! CustomCalloutView;

    let button = UIButton(frame: CGRectMake(0, 0, 100, 50))
    button.addTarget(self, action: Selector("buttonPressed:"), forControlEvents: .TouchUpInside)

    button.userInteractionEnabled = true
    button.backgroundColor = UIColor.greenColor()

    customView.addSubview(button) // assuming you're in a view controller

    self.view.addSubview(customView)
}
</code></pre>