title: MapKit iOS 9 detailCalloutAccessoryView usage
body: <p>After watching <a href="https://developer.apple.com/videos/wwdc/2015/?id=206" rel="noreferrer">WWDC video 206</a> I assumed this would be a trivial task of adding the detail callout view to a mapView annotation view.</p>
  
  <p>So, I assume Im doing something wrong.</p>
  
  <p>With my pin view set up</p>
  
  <pre><code>func mapView(mapView: MKMapView, viewForAnnotation annotation: MKAnnotation) -&gt; MKAnnotationView? {
  
      let view:MKAnnotationView!
  
      if let dequed = routeMapView.dequeueReusableAnnotationViewWithIdentifier("pin") {
          view = dequed
      }
      else {
          view = MKPinAnnotationView(annotation: annotation, reuseIdentifier: "pin")
      }
  
      let x = UIView(frame: CGRectMake(0, 0, 200, 200))
      x.backgroundColor = UIColor.redColor()
  
      // shows the red
      //view.leftCalloutAccessoryView = x
  
      // working as no subtitle - but no red view
      view.detailCalloutAccessoryView = x
  
      view.canShowCallout = true
      return view
  }
  </code></pre>
  
  <p>I only get this</p>
  
  <p><a href="https://i.stack.imgur.com/m5tQV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/m5tQV.png" alt="enter image description here"></a></p>
  
  <p>I know the view is working, because if I try it with the <code>leftCalloutAccessoryView</code> I get
  <a href="https://i.stack.imgur.com/L8QOj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/L8QOj.png" alt="enter image description here"></a></p>
  
  <p>I must be missing something. Note, if I just add an image to the <code>detailCalloutAccessoryView</code> like</p>
  
  <pre><code>view.detailCalloutAccessoryView = UIImage(named:"YourImageName")
  </code></pre>
  
  <p>The image is there, size correctly etc</p>
  
  <p>I just cannot figure out how to put in my own custom view.</p>
  
  <p>Thanks</p>