Inverted Circle Overlay Not Showing On Map
问题 I am trying to create a inverted MKCircle overlay on the map but it will not show up. Heres my inverted circle class code: import Foundation import MapKit class MKInvertedCircle : NSObject, MKOverlay { var coordinate: CLLocationCoordinate2D var boundingMapRect: MKMapRect { return MKMapRect.world } init(center coord: CLLocationCoordinate2D) { self.coordinate = coord } } Heres my inverted circle renderer class code: import Foundation import UIKit import MapKit class