Should I use an overlay view or an overlay renderer?

Why is there bot an overlay view class and an overlay renderer class? Can I only use one or the other at a time? How do I decide which one to use?

Answered by ShinehahGnolaum in 287697022

Aah, here's what I needed to know: "In iOS 7 and later, use the

MKOverlayRenderer
class to display overlays instead." That quotation comes from the documentation for MKOverlayView at https://developer.apple.com/documentation/mapkit/mkoverlayview.
Accepted Answer

Aah, here's what I needed to know: "In iOS 7 and later, use the

MKOverlayRenderer
class to display overlays instead." That quotation comes from the documentation for MKOverlayView at https://developer.apple.com/documentation/mapkit/mkoverlayview.
Should I use an overlay view or an overlay renderer?
 
 
Q