bump min development version to iOS 16 and macOS 13

This commit is contained in:
John Estropia
2024-10-31 14:05:02 +09:00
parent 5dcf29011a
commit 104def4611
13 changed files with 128 additions and 70 deletions

View File

@@ -40,7 +40,7 @@ extension Modern.ColorsDemo.SwiftUI {
.padding(),
alignment: .leading
)
.animation(.default)
.animation(.default, value: palette)
}
}
}

View File

@@ -77,13 +77,12 @@ extension Modern.PlacemarksDemo {
) -> MKAnnotationView? {
let identifier = "MKAnnotationView"
var annotationView: MKPinAnnotationView! = mapView.dequeueReusableAnnotationView(withIdentifier: identifier) as? MKPinAnnotationView
var annotationView: MKMarkerAnnotationView! = mapView.dequeueReusableAnnotationView(withIdentifier: identifier) as? MKMarkerAnnotationView
if annotationView == nil {
annotationView = MKPinAnnotationView(annotation: annotation, reuseIdentifier: identifier)
annotationView = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: identifier)
annotationView.isEnabled = true
annotationView.canShowCallout = true
annotationView.animatesDrop = true
}
else {