Post

Replies

Boosts

Views

Activity

Reply to Changing minimum deployment to iOS 17.0 Xcode compiler issues
@darkpaw The point I tried to make was there appears to be a functional limit now as to how many .onChange calls you can have in a file that did not exist with the deprecated call. I can make ANY 9 of 13 updated .onChange calls work, just not all 13 at once. The code changes themselves are trivially simple: iOS 16: .onChange(of: modeSelection) { newValue in workout.modeSelection = newValue settingsModified = true } iOS 17: .onChange(of: modeSelection) { workout.modeSelection = modeSelection settingsModified = true }
Topic: UI Frameworks SubTopic: SwiftUI
Mar ’25
Reply to UIKit mapView color annotations
@DTS Engineer I've played a bit with the sample code project for annotations and I do NOT get colors or image rotation as you suggested. Please advise. The code I am using is: let image = imageLiteral(resourceName: "flag") // original L159 of MapViewController // my example image code let configuration = UIImage.SymbolConfiguration(pointSize: 20, weight: .regular, scale: .default) let image2 = UIImage(systemName: "flag", withConfiguration: configuration)?.withTintColor(.green) let flippedImage = image2?.withHorizontallyFlippedOrientation() flagAnnotationView.image = image2 // or flippedImage
Apr ’25