Search results for

“Apple Maps Guides”

159,842 results found

Post

Replies

Boosts

Views

Activity

Bug: Business name displayed incorrectly only in Location Share Preview (Apple Maps Metadata issue)
Hi everyone, I’m facing a very specific issue with our business location on Apple Maps. In the Apple Business Connect dashboard, our name is correctly set as ANLOG Lojistik. It also appears correctly within the Apple Maps app itself. However, when we share the location via WhatsApp or iMessage, the Preview Card (Metadata) displays the name as Anlog LojİStİK. It seems like a character rendering bug (specifically with Turkish character case sensitivity). Even standard characters like 'S' and 'K' are being forced into uppercase randomly. When you click the link, it opens correctly in Apple Maps, but the preview remains broken. Apple Support says it's a 3rd party app issue, but this happens because the LPMetadataProvider fetches this specific data from Apple servers. Has anyone experienced a metadata sync/cache issue like this before? How can we force Apple to refresh the Place Card preview data?
0
0
187
May ’26
Fitness app map missing
Yesterday each workout — like a run — would have a route show up on the app after the workout. After loading IOS 14 it has disappeared. No other changes made by me. Today’s run map is missing and all previous maps are missing. Looked for suggestions and nothing has worked.
1
0
259
Sep ’20
Apple Maps Not responding to scrolling, zooming, or tap gestures on custom pins
Scrolling and zooming I have two apps that utilize the Apple Maps and since I updated my xcode to use IOS18, some of the functionalities have either been missing or glitching, and when I roll back to IOS17.5, everything seems to work fine. When I use MKMapView and use mapView.isZoomEnabled = true mapView.isScrollEnabled = true Scrolling and zooming is still not working on IOS18 but IOS17.5 works fine. Clicking on custom annotations When I press on a custom annotation I add to the MapView, the gesture is sometimes recognized and most of the times not recognized. If I have 20 annotations, there is a possibility only 2 of them respond to tap gestures. Below is how I define the annotation. Annotation(Pin, coordinate: CLLocationCoordinate2D(latitude: latitude, longitude: longitude), anchor: .bottom) { Button(action: {print (Pressed annotation){ CustomPin() } }
0
0
414
Oct ’24
How to use SwiftUI to display a map and handle touch on the map?
I want to use SwiftUI to display a map and handle touch on the map. Here is my code so far. I have a problem integrating GestureRecognizer in Coordinator specifically accessing self.mapView inside it.Also adding addGestureRecognizer. How to do that?=======================================//// ContentView.swiftimport SwiftUIimport Gomobiletidbstruct ContentView: View { var body: some View { VStack { MapView() .edgesIgnoringSafeArea(.vertical) Text(Turtle Rock) .font(.title) .padding(.leading, 15) .padding(.top, 5) .textFieldStyle(RoundedBorderTextFieldStyle()) VStack { HStack { Text(Joshua Tree National Park) .font(.subheadline) Spacer() Text(California) .font(.subheadline) } .padding() } }}=======================================//// MapView.swiftimport SwiftUIimport MapKitstruct MapView: UIViewRepresentable { func makeCoordinator() -> Coordinator { Coordinator(self) } final class Coordinator: NSObject, MKMapViewDelegate { var control: MapView init(_ control: MapView) { self.control = contr
1
0
3.8k
Aug ’19
Maps not working
As soon as I start directions to a location, my phone freezes. It happens every time. IPhone 6s. Anyone experiencing this problem? Seems to working fine on friends 5s and 6. It just sticks on the initial location and gps never tracks. I can use every other function in the maps app but gps never tracks.
5
0
713
Jun ’16
Reply to Code iteration time out
(0 ..< numberOfQueries) .lazy .map { _ in Int(readLine()!)! } .map { array[(rotatedFirstIndex + $0) % endIndex] } .forEach { print($0) }0 ..< numberOfQueries is a CountableRange: a struct which you can think of as similar to an array of consecutive values, but for which there's no actual storage of these values. Its lazy property didn't need to be used, but I wanted to prevent an array being stored by each of the maps chained after it. You'll find information about lazy and forEach in the Swift Standard Library reference. The omission of parentheses around the closures provided to the map and forEach calls is known as trailing closure syntax, which is explained in The Swift Programming Language guide, and I strongly recommend you read that guide.The code could have been written as follows, but I wanted a little practice at writing in a more functional style.for _ in 0 ..< numberOfQueries { let queryIndex = Int(readLine()!)! let value = array[(rotatedFirstI
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’17
shadow mapping woes
I stripped the MetalDeferredLighting demo down to just the shadow map bits. I removed the light fairies, skybox and bump mapping. However, I couldn't remove the (model) structure group, material, and scaling dependencies in favour of loading a simple quad.It would be nice if sample code did 1 thing, and with a minimal amount of code. Ideally, separate (digestible) demo projects for each technique.I managed to port the stripped down bits over to my project. The 2 pass render pipeline is in place and all the color attachments look good (I guess), but the shadows are glitchy. I've been hammering on this thing for a long, long, long time and have noticeably less hair. It's super frustrating when it kinda works...but not quite.Does anyone happen to have a simple demo? Like a cube casting a shadow on a ground plane?
1
0
818
Jun ’15
WatchOS Label Remove from SwiftUI Maps
Hello folks, I have been working on Maps and facing issues with map labels. I am working on WatchOS App SwiftUI, in there i have implemented Apple Maps. Since watch is small and there isn't much space to fit labels when user is fully zoomed in. i want to reduce some categories of unwanted labels. the solutions i have tried where leading me to results where there are All Labels or No Labels (except default labels like, street names and City Names) for this i have physical devices: Apple Watch Ultra with watchOS 10 beta (21R5320i), iPhone 14 pro max with iOS 17 beta 4 (21R5320i) for this i have tried following ways i have used PointOfInterestCategories in iPhone first and it is working as expected with all categories and filter out defined categories. code i have used it as below. Map(position: $position) .mapStyle(.standard(pointsOfInterest: [ .hospital, .hotel, ])) Then i have tried it in WatchOS Map like below code. For pointOfInterest i have to
0
0
577
Aug ’23
MKLocationSearch is not responding with the results like Apple's "Maps" app gives.
Hi Team, I need to implement a place/location search. This search should work on the Globe like Maps application do when we search for something. I tried it with below code but it is responding with very limited data. Could you please review the below code and help me to build my requirement. tttlet request = MKLocalSearch.Request() ttttrequest.naturalLanguageQuery = searchField.text ttt ttttrequest.region = self.mapView.region; ttttlet search = MKLocalSearch(request: request) ttttsearch.start { response, _ in ttttguard let response = response else { ttttttreturn tttt} ttttttself.matchingItems = response.mapItems ttttttself.tableView.reloadData() tttt} I thougt this was might be the issue with region, So I tried to create region with MKCoordinateRegionMakeWithDistance by giving distance values. But it is still responding with same data that I got earlier. Below is the line of region created with Distance values. ttttlet region = MKCoordinateRegionMakeWithDistance(self.mapView.centerCoordinate, 300000
1
0
915
Nov ’20
About Drawing Maps In CarpPlay
I want to draw directions to a specific location in CarPlay. I realized that there are two different options that can be made regarding this. First of all, drawing a direct route from current location to the desired location. The second is to draw the route after showing our current location and selecting the location which we want to go on the map. Which would make more sense for me to do? Which authorization is appropriate for the situations I have mentioned? com.developer.apple.carplay-parking or com.developer.apple.carplay-maps? Parking or Map? If you developing an CarPlay Application I would appreciate it if you would also write about the resources you used on the subject. If you have knowledge about this subject, I am waiting for your answers ASAP! Thanks :)
0
0
1.1k
Oct ’22
Cloudkit Guides
The Cloudkit documentation that I found is mostly in Obj-C, also same as for the NSPredicates where can I find the Swift equivalents and the sample code
Replies
0
Boosts
0
Views
243
Activity
Jun ’16
Bug: Business name displayed incorrectly only in Location Share Preview (Apple Maps Metadata issue)
Hi everyone, I’m facing a very specific issue with our business location on Apple Maps. In the Apple Business Connect dashboard, our name is correctly set as ANLOG Lojistik. It also appears correctly within the Apple Maps app itself. However, when we share the location via WhatsApp or iMessage, the Preview Card (Metadata) displays the name as Anlog LojİStİK. It seems like a character rendering bug (specifically with Turkish character case sensitivity). Even standard characters like 'S' and 'K' are being forced into uppercase randomly. When you click the link, it opens correctly in Apple Maps, but the preview remains broken. Apple Support says it's a 3rd party app issue, but this happens because the LPMetadataProvider fetches this specific data from Apple servers. Has anyone experienced a metadata sync/cache issue like this before? How can we force Apple to refresh the Place Card preview data?
Replies
0
Boosts
0
Views
187
Activity
May ’26
Fitness app map missing
Yesterday each workout — like a run — would have a route show up on the app after the workout. After loading IOS 14 it has disappeared. No other changes made by me. Today’s run map is missing and all previous maps are missing. Looked for suggestions and nothing has worked.
Replies
1
Boosts
0
Views
259
Activity
Sep ’20
Apple Maps Not responding to scrolling, zooming, or tap gestures on custom pins
Scrolling and zooming I have two apps that utilize the Apple Maps and since I updated my xcode to use IOS18, some of the functionalities have either been missing or glitching, and when I roll back to IOS17.5, everything seems to work fine. When I use MKMapView and use mapView.isZoomEnabled = true mapView.isScrollEnabled = true Scrolling and zooming is still not working on IOS18 but IOS17.5 works fine. Clicking on custom annotations When I press on a custom annotation I add to the MapView, the gesture is sometimes recognized and most of the times not recognized. If I have 20 annotations, there is a possibility only 2 of them respond to tap gestures. Below is how I define the annotation. Annotation(Pin, coordinate: CLLocationCoordinate2D(latitude: latitude, longitude: longitude), anchor: .bottom) { Button(action: {print (Pressed annotation){ CustomPin() } }
Replies
0
Boosts
0
Views
414
Activity
Oct ’24
How to use SwiftUI to display a map and handle touch on the map?
I want to use SwiftUI to display a map and handle touch on the map. Here is my code so far. I have a problem integrating GestureRecognizer in Coordinator specifically accessing self.mapView inside it.Also adding addGestureRecognizer. How to do that?=======================================//// ContentView.swiftimport SwiftUIimport Gomobiletidbstruct ContentView: View { var body: some View { VStack { MapView() .edgesIgnoringSafeArea(.vertical) Text(Turtle Rock) .font(.title) .padding(.leading, 15) .padding(.top, 5) .textFieldStyle(RoundedBorderTextFieldStyle()) VStack { HStack { Text(Joshua Tree National Park) .font(.subheadline) Spacer() Text(California) .font(.subheadline) } .padding() } }}=======================================//// MapView.swiftimport SwiftUIimport MapKitstruct MapView: UIViewRepresentable { func makeCoordinator() -> Coordinator { Coordinator(self) } final class Coordinator: NSObject, MKMapViewDelegate { var control: MapView init(_ control: MapView) { self.control = contr
Replies
1
Boosts
0
Views
3.8k
Activity
Aug ’19
Maps not working
As soon as I start directions to a location, my phone freezes. It happens every time. IPhone 6s. Anyone experiencing this problem? Seems to working fine on friends 5s and 6. It just sticks on the initial location and gps never tracks. I can use every other function in the maps app but gps never tracks.
Replies
5
Boosts
0
Views
713
Activity
Jun ’16
Mapping memory between DriverKit processes
Having read in the forums that it is possible for dext instances to find and invoke methods on one another, is there any way for one dext process to share a mapped buffer with another? The requirement would be for the buffer to be persistent, something like mappings created by IOConnectMapMemory, which persist until explicitly unmapped.
Replies
0
Boosts
0
Views
1k
Activity
Aug ’22
Reply to Code iteration time out
(0 ..< numberOfQueries) .lazy .map { _ in Int(readLine()!)! } .map { array[(rotatedFirstIndex + $0) % endIndex] } .forEach { print($0) }0 ..< numberOfQueries is a CountableRange: a struct which you can think of as similar to an array of consecutive values, but for which there's no actual storage of these values. Its lazy property didn't need to be used, but I wanted to prevent an array being stored by each of the maps chained after it. You'll find information about lazy and forEach in the Swift Standard Library reference. The omission of parentheses around the closures provided to the map and forEach calls is known as trailing closure syntax, which is explained in The Swift Programming Language guide, and I strongly recommend you read that guide.The code could have been written as follows, but I wanted a little practice at writing in a more functional style.for _ in 0 ..< numberOfQueries { let queryIndex = Int(readLine()!)! let value = array[(rotatedFirstI
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’17
Augmented Reality in the indoor map program
Can you place an Augmented Reality Anchor in a private apple indoor map? https://register.apple.com/resources/indoor/program/indoor_maps https://developer.apple.com/augmented-reality/tools/
Replies
1
Boosts
0
Views
1.5k
Activity
May ’22
shadow mapping woes
I stripped the MetalDeferredLighting demo down to just the shadow map bits. I removed the light fairies, skybox and bump mapping. However, I couldn't remove the (model) structure group, material, and scaling dependencies in favour of loading a simple quad.It would be nice if sample code did 1 thing, and with a minimal amount of code. Ideally, separate (digestible) demo projects for each technique.I managed to port the stripped down bits over to my project. The 2 pass render pipeline is in place and all the color attachments look good (I guess), but the shadows are glitchy. I've been hammering on this thing for a long, long, long time and have noticeably less hair. It's super frustrating when it kinda works...but not quite.Does anyone happen to have a simple demo? Like a cube casting a shadow on a ground plane?
Replies
1
Boosts
0
Views
818
Activity
Jun ’15
Supported regex patterns for generation guide
Hey Tried using a few regular expressions and all fail with an error: Unhandled error streaming response: A generation guide with an unsupported pattern was used. Is there are a list of supported features? I don't see it in docs, and it takes RegExp. Anything with e.g. [A-Z] fails.
Replies
1
Boosts
0
Views
164
Activity
Jul ’25
How do we import google maps into our app?
How do we import google maps using a podfile and cocoa pods?
Replies
1
Boosts
0
Views
468
Activity
Mar ’16
WatchOS Label Remove from SwiftUI Maps
Hello folks, I have been working on Maps and facing issues with map labels. I am working on WatchOS App SwiftUI, in there i have implemented Apple Maps. Since watch is small and there isn't much space to fit labels when user is fully zoomed in. i want to reduce some categories of unwanted labels. the solutions i have tried where leading me to results where there are All Labels or No Labels (except default labels like, street names and City Names) for this i have physical devices: Apple Watch Ultra with watchOS 10 beta (21R5320i), iPhone 14 pro max with iOS 17 beta 4 (21R5320i) for this i have tried following ways i have used PointOfInterestCategories in iPhone first and it is working as expected with all categories and filter out defined categories. code i have used it as below. Map(position: $position) .mapStyle(.standard(pointsOfInterest: [ .hospital, .hotel, ])) Then i have tried it in WatchOS Map like below code. For pointOfInterest i have to
Replies
0
Boosts
0
Views
577
Activity
Aug ’23
MKLocationSearch is not responding with the results like Apple's "Maps" app gives.
Hi Team, I need to implement a place/location search. This search should work on the Globe like Maps application do when we search for something. I tried it with below code but it is responding with very limited data. Could you please review the below code and help me to build my requirement. tttlet request = MKLocalSearch.Request() ttttrequest.naturalLanguageQuery = searchField.text ttt ttttrequest.region = self.mapView.region; ttttlet search = MKLocalSearch(request: request) ttttsearch.start { response, _ in ttttguard let response = response else { ttttttreturn tttt} ttttttself.matchingItems = response.mapItems ttttttself.tableView.reloadData() tttt} I thougt this was might be the issue with region, So I tried to create region with MKCoordinateRegionMakeWithDistance by giving distance values. But it is still responding with same data that I got earlier. Below is the line of region created with Distance values. ttttlet region = MKCoordinateRegionMakeWithDistance(self.mapView.centerCoordinate, 300000
Replies
1
Boosts
0
Views
915
Activity
Nov ’20
About Drawing Maps In CarpPlay
I want to draw directions to a specific location in CarPlay. I realized that there are two different options that can be made regarding this. First of all, drawing a direct route from current location to the desired location. The second is to draw the route after showing our current location and selecting the location which we want to go on the map. Which would make more sense for me to do? Which authorization is appropriate for the situations I have mentioned? com.developer.apple.carplay-parking or com.developer.apple.carplay-maps? Parking or Map? If you developing an CarPlay Application I would appreciate it if you would also write about the resources you used on the subject. If you have knowledge about this subject, I am waiting for your answers ASAP! Thanks :)
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’22