detailCalloutAccessoryView property on MKAnnotationView should not require a value for title or subtitle to be enabled
| Originator: | dwsjoquist | ||
| Number: | rdar://22702260 | Date Originated: | 14-sep-2015 |
| Status: | open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 9 |
| Classification: | bug | Reproducible: | always |
Summary:
detailCalloutAccessoryView was created to give developers ability to completely customize the callout, but currently it requires a value for the title to be visible even if the custom view has all the necessary information.
If I return a space (" ") for the title in the MKAnnotation, the callout is displayed but with blank space above the custom view
Steps to Reproduce:
set canShowCallout property to YES on MKAnnotationView
set detailCalloutAccessoryView to custom view on MKAnnotationView
return nil for title property on the corresponding MKAnnotation
Expected Results:
Callout should show custom view without any white space above it or title
Actual Results:
The callout is not displayed
Version:
iOS 9
Notes:
The attached screenshot was a debugging version with the background of the custom annotation view set to orange and the title set to " ". The desired configuration displays nothing on the map
Configuration:
all devices
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!