Search results for

“Apple Maps Guides”

155,812 results found

Post

Replies

Boosts

Views

Activity

Attempt to map database failed
This looks like a refresh of an old question. I'm using iOS 15 beta 7 and have presented a UIActivityViewController from a SwiftUI app. I get a ton of these errors when trying to share a two-item list containing String and UISimpleTextPrintFormatter. [default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 process may not map database UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]} [default] Attempt to map database failed: permission was denied. This attempt will not be retried. [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 process may not map database UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]} [default] -imageForImageDescriptor: can do IO please adopt -imageForDescriptor: for IO fr
4
0
7.6k
Aug ’21
Get coordinates in the onLongPressGesture on the Map
I've asked this question at SO, but there are no replies there, so I decided to give it a try here. Basically, I want to be able to capture the coordinates of a long press on the Map component (not the geo-coordinates - that's a separate task - just local to the app coordinates). The problem is that the .onLongPressGesture doesn't provide the coordinates of where the long press happened. .onTapGesture does - but I don't want to register taps, I want to register long presses. One of the work-arounds suggested at SO was to leverage the DragGesture, and it kinda works for other views, but when applied to a Map, it breaks the default dragging functionality of the Map component (so that it becomes impossible to scroll the map region). Also this work-around provides the coordinates only when the finger is released (at the end of the .onLongPressGesture), but I want to capture the long-press location before the finger was released (but after some time of holding, for example 1 sec
3
0
3.2k
Jun ’23
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
247
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
394
Oct ’24
iOS Maps App Route Sharing
Hello All! We are building an app and want to have the user's navigation status and route be shared with our app. Is there currently a way to do this on iOS? For Example, if a user starts navigation within Apple Maps, we want to observe the location, route, and end destination from our app. Very similar to share ETA, but sharing with another app instead of another person. For context, we want our app to know where a user is going and if they are currently using Apple Maps to navigate. Our app will (hopefully) be able to alert users of potential carpool riders they could pick up, once they have started navigation with Apple Maps. On Android there are system APIs that share navigation event details with other apps, but I can't find anything on iOS. Other than building some type of service that a user could share their ETA with, which would be clunky as it would need to be an SMS send to a contact in their phone, is there a system API, or iOS Maps Ap
0
0
547
Jan ’22
Google Map utility ios
I've added updated Google-Map-IOs-Utils library manually in project for marker clustering. In cluster manager array,cluster item is a object of Spot class having property marker.no error showing but custom marker and cluster both are showing and on tapping on cluster item it displays default map marker also.My code is on link-https://github.com/googlemaps/google-maps-ios-utils/issues/37 Any idea how do i solve this?
0
0
467
Sep ’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
804
Jun ’15
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
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
897
Nov ’20
Attempt to map database failed
This looks like a refresh of an old question. I'm using iOS 15 beta 7 and have presented a UIActivityViewController from a SwiftUI app. I get a ton of these errors when trying to share a two-item list containing String and UISimpleTextPrintFormatter. [default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 process may not map database UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]} [default] Attempt to map database failed: permission was denied. This attempt will not be retried. [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 process may not map database UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]} [default] -imageForImageDescriptor: can do IO please adopt -imageForDescriptor: for IO fr
Replies
4
Boosts
0
Views
7.6k
Activity
Aug ’21
Get coordinates in the onLongPressGesture on the Map
I've asked this question at SO, but there are no replies there, so I decided to give it a try here. Basically, I want to be able to capture the coordinates of a long press on the Map component (not the geo-coordinates - that's a separate task - just local to the app coordinates). The problem is that the .onLongPressGesture doesn't provide the coordinates of where the long press happened. .onTapGesture does - but I don't want to register taps, I want to register long presses. One of the work-arounds suggested at SO was to leverage the DragGesture, and it kinda works for other views, but when applied to a Map, it breaks the default dragging functionality of the Map component (so that it becomes impossible to scroll the map region). Also this work-around provides the coordinates only when the finger is released (at the end of the .onLongPressGesture), but I want to capture the long-press location before the finger was released (but after some time of holding, for example 1 sec
Replies
3
Boosts
0
Views
3.2k
Activity
Jun ’23
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
247
Activity
Sep ’20
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
242
Activity
Jun ’16
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
394
Activity
Oct ’24
iOS Maps App Route Sharing
Hello All! We are building an app and want to have the user's navigation status and route be shared with our app. Is there currently a way to do this on iOS? For Example, if a user starts navigation within Apple Maps, we want to observe the location, route, and end destination from our app. Very similar to share ETA, but sharing with another app instead of another person. For context, we want our app to know where a user is going and if they are currently using Apple Maps to navigate. Our app will (hopefully) be able to alert users of potential carpool riders they could pick up, once they have started navigation with Apple Maps. On Android there are system APIs that share navigation event details with other apps, but I can't find anything on iOS. Other than building some type of service that a user could share their ETA with, which would be clunky as it would need to be an SMS send to a contact in their phone, is there a system API, or iOS Maps Ap
Replies
0
Boosts
0
Views
547
Activity
Jan ’22
Google Map utility ios
I've added updated Google-Map-IOs-Utils library manually in project for marker clustering. In cluster manager array,cluster item is a object of Spot class having property marker.no error showing but custom marker and cluster both are showing and on tapping on cluster item it displays default map marker also.My code is on link-https://github.com/googlemaps/google-maps-ios-utils/issues/37 Any idea how do i solve this?
Replies
0
Boosts
0
Views
467
Activity
Sep ’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:
Replies
Boosts
Views
Activity
Feb ’17
Using Google maps for application
The question about using Google maps during development. During our development we found out that some our pop-up elements close it in some situations (not always). According to Google rules - logo should be always be on the maps in the left bottom corner. So can you recommend will be there any problems in that situation?
Replies
0
Boosts
0
Views
336
Activity
Oct ’20
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
804
Activity
Jun ’15
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
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
897
Activity
Nov ’20
Reply to GPS and Compass not working
i have the same issue. no GPS on any map app (inlcuding apple maps). iphonex on AT&T
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’18
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
153
Activity
Jul ’25