Search results for

“Apple Maps Guides”

155,829 results found

Post

Replies

Boosts

Views

Activity

Where are the "Guides" and "Sample Code" sections in the documentation?
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!
1
0
3.5k
Aug ’18
Reply to CoreML - Label presented as random string
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:
Sep ’20
Reply to How to provide directions with app in iOS
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 ?
Nov ’18
Center Map in SwiftUI to specific latitude and longitude.
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?
1
0
570
Nov ’24
ios10 beta map controls
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.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
237
Jul ’16
Stalling when panning/zooming map
I have an app that shows where busses are on their routes. Many times when panning around or trying to zoom in or out the app stalls. When location manager makes a call to didUpdateLocations, I reload the map with the possible change in the bus location. To get the change information I have to use NSURL to grab an xml file and parse it for bus route name, gps data, etc. Is this nsurl call blocking the app? Is there a way to put this call on a different thread so it is not blocking the pan/zoom actions on the map?Is there a better forum to ask this question?Thanks
3
0
405
Aug ’15
How do you get a map view in watchOS 2.0?
So MKMapViewDelegate is no longer supported in watchOS 2. How, then, do I retrieve a map view to show in my watch app? Currently map is still supported as a drag-and-drop object in watchkit IB, but if you can't have a MKMapViewDelegate, nor import MapKit it seems like this is a useless object. Do you have to use WCSession to manage this? If so, how? I've been scouring around and have found nothing so far on how to show a live (updating) map view on the watch as of version 2.Thanks for the help!
13
0
4.2k
Jun ’15
XCode MapKit. MKPolyline is not displayed on the map when there is no mobile connection and the map data is not available
I am developing applications for recording routes using MapKit. I use the following code to display the saved route on the map: let polyline = MKPolyline(coordinates: coordinates, count: coordinates.count) polyline.title = title polyline.subtitle = subtitle mapView.addOverlays([polyline]) Everything works fine when the device has an Internet connection and the map data is available and downloaded. However, when there is no connection, only the current position and annotations are displayed on the map. MKPolyline is displayed only on the part of the map for which the data has been loaded (see screenshot). How can this be fixed?
0
0
460
Jul ’21
Deleting memory mapped file
Does NSData dataWithContentsOfFile/initWithContentsOfFile with NSDataReadingMappedIfSafe always use mmap(2) which guards against the file being unlinked while it is mapped?I've created an NSData instance using - initWithContentsOfFile:options:error: with options = NSDataReadingMappedIfSafe, on a file in my sandbox Documents folder, deleted the file and continued to read from the NSData instance with no issues. But I can't tell for sure if this will always be the case. It seems that on iOS one should always be able to rely on mmap(2) behavior since the Documents folder is pretty much always there.Can someone from Apple comment? Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
449
Jan ’16
Maps and incorrect GPS location
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.
Replies
1
Boosts
0
Views
529
Activity
Feb ’18
Where are the "Guides" and "Sample Code" sections in the documentation?
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!
Replies
1
Boosts
0
Views
3.5k
Activity
Aug ’18
Offline vector map in IOS
Hi, how can i add offline vectormap in my IOS app? I need to open any of the following formats: .MAP .OSM or .PBF with using the following styles: CartoCSS, Mapnik or MapsforgeRenderTheme. I want to be able set annotation with some actions.
Replies
0
Boosts
0
Views
247
Activity
Dec ’15
Reply to CoreML - Label presented as random string
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:
Replies
Boosts
Views
Activity
Sep ’20
Reply to How to provide directions with app in iOS
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 ?
Replies
Boosts
Views
Activity
Nov ’18
Center Map in SwiftUI to specific latitude and longitude.
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?
Replies
1
Boosts
0
Views
570
Activity
Nov ’24
ios10 beta map controls
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.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
237
Activity
Jul ’16
Parse Mach-O debug map
How are debug maps saved in Mach-O files? I'm trying to essentially recreate the output of dsymutil -dump-debug-map.
Replies
4
Boosts
0
Views
1.1k
Activity
Sep ’23
coordinateRegion in map is deprecated in iOS 17.0
what we must to use we need to take the user show on map to take the location and get some data or what we must to do with map is it become only to show our data and the user just move around and see data with MapCameraPosition that heavy work i wish there is another way ? i need to take the cunterly location on map
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’23
Static Maps (Snapshot) MapkitJS
Is there any way to load a static map using MapkitJS? I see there are some solutions using the Swift implementation using the snapshot functionality, but I can't find anything from the MapkitJS docs.
Replies
3
Boosts
0
Views
3.8k
Activity
Apr ’19
Stalling when panning/zooming map
I have an app that shows where busses are on their routes. Many times when panning around or trying to zoom in or out the app stalls. When location manager makes a call to didUpdateLocations, I reload the map with the possible change in the bus location. To get the change information I have to use NSURL to grab an xml file and parse it for bus route name, gps data, etc. Is this nsurl call blocking the app? Is there a way to put this call on a different thread so it is not blocking the pan/zoom actions on the map?Is there a better forum to ask this question?Thanks
Replies
3
Boosts
0
Views
405
Activity
Aug ’15
How do you get a map view in watchOS 2.0?
So MKMapViewDelegate is no longer supported in watchOS 2. How, then, do I retrieve a map view to show in my watch app? Currently map is still supported as a drag-and-drop object in watchkit IB, but if you can't have a MKMapViewDelegate, nor import MapKit it seems like this is a useless object. Do you have to use WCSession to manage this? If so, how? I've been scouring around and have found nothing so far on how to show a live (updating) map view on the watch as of version 2.Thanks for the help!
Replies
13
Boosts
0
Views
4.2k
Activity
Jun ’15
XCode MapKit. MKPolyline is not displayed on the map when there is no mobile connection and the map data is not available
I am developing applications for recording routes using MapKit. I use the following code to display the saved route on the map: let polyline = MKPolyline(coordinates: coordinates, count: coordinates.count) polyline.title = title polyline.subtitle = subtitle mapView.addOverlays([polyline]) Everything works fine when the device has an Internet connection and the map data is available and downloaded. However, when there is no connection, only the current position and annotations are displayed on the map. MKPolyline is displayed only on the part of the map for which the data has been loaded (see screenshot). How can this be fixed?
Replies
0
Boosts
0
Views
460
Activity
Jul ’21
Reply to How so I enable Scroll zoom on MapKit JS?
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.
Replies
Boosts
Views
Activity
Feb ’21
Deleting memory mapped file
Does NSData dataWithContentsOfFile/initWithContentsOfFile with NSDataReadingMappedIfSafe always use mmap(2) which guards against the file being unlinked while it is mapped?I've created an NSData instance using - initWithContentsOfFile:options:error: with options = NSDataReadingMappedIfSafe, on a file in my sandbox Documents folder, deleted the file and continued to read from the NSData instance with no issues. But I can't tell for sure if this will always be the case. It seems that on iOS one should always be able to rely on mmap(2) behavior since the Documents folder is pretty much always there.Can someone from Apple comment? Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
449
Activity
Jan ’16