Hello, I'm somewhat new to CarPlay integration and am having an issue. I have ready through Apple's CarPlay Programming Guide, reviewed their code samples and have exhausted my searches online to help find a solution to my problem. I have been unable to get a basic map to display on my CarPlay map utilizing the following: import CarPlay class CarPlaySceneDelegate: UIResponder, CPTemplateApplicationSceneDelegate { var interfaceController: CPInterfaceController? var window: CPWindow? func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didConnect interfaceController: CPInterfaceController) { self.interfaceController = interfaceController let mapTemplate = CPMapTemplate() mapTemplate.mapDelegate = self interfaceController.setRootTemplate(mapTemplate, animated: true, completion: { success, error in if let error = error { debugPrint(Error: (error)) } else { print(CarPlay Map Should Be Displayed) } }) let trip = CPTrip(origin: MKMapItem(p
Search results for
Apple Maps Guides
151,863 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi , i have been trying to find a solution to use mapkit in dark mode. I read documentation part and map view.mapkit.colorschemes.darkmode but I could not find any useful example for this. Thanks
Anyone else seeing corrupted maps in a SwiftUI Map view in the iOS 15 simulator on an M1 MacBook Air? Running Xcode 13 Beta 2. Works fine on an Intel Mac (same version of everything)
Hi all.In the iBook Apple Education course App Development with Swift, there is this statement: “For example, reopen the documentation window (if it's not still open) and search for UIViewController again. Near the bottom of the search results, you'll see two sections called Guides and Sample Code.”Excerpt From: Apple Education. “App Development with Swift.” Apple Inc. - Education, 2017. iBooks. https://itunes.apple.com/ca/book/app-development-with-swift/id1219117996?mt=11Well... in my version of Xcode (9.2) under Os X (10.12.6), those sections are NOT there! And judging from the example provided in the book, I would think they would be VERY helpful!Where are they now???Thanks!
Greetings, I'm attempting to refactor a SwiftUI application. From: IUViewRepresentable of MapView To: SwiftUI's native Map() view. However my application has to be able to react to the user's panning and zooming. In my UIViewRepresentable version, I added MKMapViewDelagate protocol to the Coordinator class, and create mapView(_ mapView:regionDidChangeAnimated) How can assign a delegate class to the SwiftUI native version to accomplish this? I've seen some posts use an init() method to adjust the appearance of the map with MKMapView.appearance(). Turns out this has a delegate property, but assigning a delegate here does not result in the mapView:regionDidChangeAnimated method being called...
Hello everyone, Recently I enabled the Maps capability in my iOS Xcode project and now I cannot disable it.iMac 14,3Xcode 8.2.1macOS Sierra 10.12.2
I was just playing around with the map program ,and it shows my location incorrectly anyone else noticed this ? A 6s + and a 7 show the same but a SE on 11.2.5 is correct.
Are Maps turn alerts haptics and sounds working for anyone in watchOS 5?Cannot get to work for me.Tried unpairing and setting up as new - did not work
There are a lot of condtions for app appearing as providing a service to the user to help guide him from A -> BNotably :To register your app as a directions provider:Configure your app to accept directions requests and declare a document type to handle incoming routing requests.Declare the map regions that your app supports using a geographic coverage file (specified using a GeoJSON file).Process direction request URLs when they are sent to your app.Did you check you did everything described in the document ?
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
The labels are stored in your mlmodel file. If you open the mlmodel in Xcode 12, it will display what those labels are. My guess is that instead of actual labels, your mlmodel contains CICAgICAwPmveRIJQWdsYWlzX2lv and so on. If that is the case, you can make a dictionary in the app that maps CICAgICAwPmveRIJQWdsYWlzX2lv and so on to the real labels, or you can replace these labels inside the mlmodel file by editing it using coremltools. (My e-book Core ML Survival Guide has a chapter on how to replace the labels in the model.)
Topic:
Machine Learning & AI
SubTopic:
Core ML
Tags:
I have a Map in SwiftUI using MapKit and the map has several annotations and MapCircles added to it. I need to have the ability to center the map on a specific latitude and longitude. The issue is that the map instead is centering so that all annotations and MapCircles etc. are visible. How can I have it disregard items added to the map and center the map at a specific latitude and longitude and ideally, control the zoom level of the map also?
In iOS10 beta 2, the Map app uses a view controller that has three sizes (I'll refer to them as minmized, compact, and expanded) and supports a handle. Pull up on the handle when in compact mode and the view expands over the mapView and dims it. Pull down and the background view is slowly undimmed until you get to the compact size. Keep pulling down and the view is then minimized with just the search bar. A great look for the app I am working on.I am looking to use the system framework that does this or replicate it. Does anyone know if this is offered to developers to use? I cannot figure out what Apple used to support this. Any pointers would be appreciated.
My issue is essentially the same described in MKUserLocation stops updating when map is touched, except for Mapkit JS. That question has been left without answer and the chat has been removed so I'm left wondering what the outcome was. In short, I create a Mapkit JS map, I set: map.tracksUserLocation = true; map.showsUserLocation = true; This shows and tracks the user's position on the map. Once I pan/zoom the map map.tracksUserLocation is set to false (as it should). However the user's dot stops updating entirely as well. I have ran some testing and it looks that if I initially only set map.showsUserLocation to true but don't specify wether the map should track the user's location, the user's dot will simply not show up at all. I can override this behaviour by constantly setting both variables to true, but as you can imagine the experience is awful. My code is essentially the bare basics. const map = new mapkit.Map('map'); map.tracksUserLocation
How are debug maps saved in Mach-O files? I'm trying to essentially recreate the output of dsymutil -dump-debug-map.
This is frustrating. I started using google maps instead to avoid this issue with the apple mouse. It works as expected and scroll zooms on google maps.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags: