MKAnnotationView requires selection before dragging can occur
| Originator: | afarnham | ||
| Number: | rdar://11919429 | Date Originated: | 19-Jul-2012 11:24 PM |
| Status: | open | Resolved: | |
| Product: | iOS | Product Version: | 4+ |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When a user performs a long press gesture on an MKAnnotationView that has it's selected property set to NO, the annotation view switches to the selected state. However, if a user long presses on a selected annotation that has it's draggable property set to YES then they initiate a drag sequence. This is inconsistent and should be changed as follows: 1) A single tap gesture selects/deselects the annotation view 2) A long press gesture on an annotation view always initiates a drag Steps to Reproduce: 1) Open the stock Maps app on an iOS device 2) Search for "Cupertino, CA" 3) Tap away from the pin that appears to deselect it 4) Perform a long press gesture on the pin The annotation view is now selected, but the intent was to drag the annotation view. Works with MKAnnotationView and subclasses in MapKit this same way. Expected Results: The annotation view would be in one of the active dragging states Actual Results: The annotation view was selected Regression: None Notes: None
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!