MapKit MKOverlayRenderer redraw issue
| Originator: | liamodunne | ||
| Number: | rdar://15731941 | Date Originated: | 30/12/2013 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | iOS 7 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Tiling-based performance issues when using MKOverlayRender, in particular when allowing the user to interact with & manipulate the underlying MKOverlay instance. Steps to Reproduce: 1. Run the attached sample project on device (not simulator) 2. Pan rapidly on the map view to expand/contract the radius of the overlay. 3. Tap the button at the bottom of the screen to toggle between using MKOverlayViews and MKOverlayRenderers. Expected Results: The redraw performance of the MKOverlayRenderer should match the MKOverlayView when panning quickly. Actual Results: When using the MKOverlayRenderer, there are visibly noticeable tiling-based redrawing issues, particularly when the map view is zoomed out to display larger regions. Regression: Not a regression issue. Notes: This issue only occurs on devices, and not on the simulator. For the moment, the MKOverlayView is usable, but it’s deprecated as of iOS7, and I need a solution that will be usable & supported in future versions.
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!
Test project on github
https://github.com/Lmd64/viewVSrenderer
Deploy to a device to test it out. Simulator does not exhibit the MKOverlayRenderer performance issues .