Post

Replies

Boosts

Views

Activity

Reply to MKMapView doesn't show updated map data
Let's look at this... Apple Maps shows a certain view. When using MKMapView, your app shows the same view. That seems entirely consistent. Google Maps shows a different view. Okay. Google Maps is an entirely different system, nothing to do with Apple Maps, or MKMapView. If you want to use Google Maps data in your app, you can do that (but not in MKMapView... they use a "GMSMapView"). "Another app" shows a different view. You think it is using Apple Maps (you spotted an Apple logo). You think it is using MKMapView (how would you know that?). Who knows what it is doing, or using? You would have to ask the app developer. Your app is consistent with Apple Maps. When your local Apple Maps data is updated, your MKMapView will reflect that.
Oct ’22
Reply to Why Is Bottom Sheet Full Screen? What is the workaround for Dynamic Height?
it is frustrating that the result is always full screen. I wonder why they just let it behave like that in the iPhone ?? Perhaps you could share your code? I think you just have to supply it with some alternative sizes. Try something like this: struct BottomSheetView: View { @State private var showSettings = false var body: some View { Button("View Settings") { showSettings = true } .sheet(isPresented: $showSettings) { Text("Settings") .presentationDetents([.fraction(0.1), .medium, .large]) } } } detents: A set of supported detents for the sheet. If you provide more that one detent, people can drag the sheet to resize it Read up on: large medium custom fraction height Context
Oct ’22
Reply to ImageRenderer not Showing
Duplicate of https://developer.apple.com/forums/thread/717581 Disappointingly, you have not added the extra information I asked for, on the original post.
Oct ’22
Reply to Issue in Dateformatter with language
Try: setting the locale immediately after creating the formatter (before applying the format) using Locale.autoupdatingCurrent let formatter = DateFormatter() formatter.locale = Locale.autoupdatingCurrent /// automatically updates with the user's configuration settings: formatter.dateStyle = .long return formatter.string(from: date)
Oct ’22