I am trying to set the tint color of my MKAnnotationView image so that it behaves in dark mode-
pinView = mapView.dequeueReusableAnnotationView(withIdentifier: WeatherMapViewController.mapViewWeatherID)
if pinView == nil {
pinView = MKAnnotationView(annotation: annotation, reuseIdentifier: WeatherMapViewController.mapViewWeatherID)
pinView?.image = UIImage(systemName: "cloud.sun.rain")?.withTintColor(.label, renderingMode: .alwaysOriginal)
But the SF symbol image is always black no matter the tint color. Can anyone suggest a way to lighten the icon when in dark mode?