Apple Maps app or MapKit for turn by turn navigation - ios

I would like to create an app, that would show navigation to some marker. It would be best if that navigation could be provided inside an app, however I am not sure if that's possible (at least with MapKit). If my app would launch Apple Maps app for navigation, could my app update destination location? The thing is in most cases my destination should change with time. What are my options?
I done some googling, found that Skobbler a SDK for in app navigation, but it increases app size over 100Mb.

I have done this in an app which takes the coordinates from a plist, maps them and then provides directions from the user location to the map destination point selected. Try this link:
http://www.techotopia.com/index.php/Using_MKDirections_to_get_iOS_8_Map_Directions_and_Routes

Related

How can I use ARKit while using Slide Over/Split Screen on iPadOS?

I have an app that uses ARKit to detect faces and send over the network the coordinates of interest, which works well. I would like this app to run in background, still sending the data over the network, while I would be using another app (almost) fullscreen.
The option 'Enable multiple windows' is activated in info.plist, but as soon as I launch my other app, the ARKit app stops sending information (the app actually probably stops).
Is there a simple way to do this, and at least is this feasible? Thanks!
This is not possible at this point. Camera and AR stuff is disabled at a system level in apps when they are displayed in Slide Over or Split View.
I'd recommend displaying a warning message when Slide Over/Split Screen is being used saying that you should use the app in full screen mode. See this answer under a different question for details.

How to add the iOS “Open In…” feature to my navigation app

I have a navigation app. I would like to pop up all navigation apps when user press, address, let the user can press my app and pass the latitude and longitude to my app. I know when I click a file on mail app, it will pop “Open in" menu and suggest me apps.
I check the https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html
I have not found the address of file type.
So, how can I do? I already use URL scheme to achieve A app call B app,
But this time I would like to use “Open in” menu.
I recommend checking out Localide. It helps you open Google Maps, Waze, Apple Maps, Transit App, Citymapper, and Navigon very easily. You'll need to have a coordinate though which you should have if it's a navigation app!

Prevent Google Cardboard Pairing / Startup Screen on iOS

When my google cardboard app starts up for the first time, it launches a Google page that says "Google Cardboard. Let's get you set up. Pair your phone with your viewer for the best experience."
I'd like to control this experience to show my own initial screen before the google cardboard sdk launches. One reason for this is that I want people without cardboard to be able to immediately start experiencing the app in non-cardboard mode without having to go through the pairing process.
I know I can launch the pairing / viewer profile selector later on with the cardboard.ShowSettingsDialog().
One way to do this with the current version of the SDK is to have a starter scene without a Cardboard component in it. It will not be in VR, and it won't trigger onboarding.
[edit] The function OnFocus() in CardboardiOSDevice.cs is where it decides to launch the onboarding dialog. You can suppress that by editing this function. But you may want to continue using the onboarding dialog for first time users, rather than the settings dialog, because of it walks them through the scanning process.

Turn by turn navigation iOS app using MapKit

I am developing an iOS app. It can provide turn by turn navigation. With MKDirectionsRequest, code can get navigation routes from device's current location to the destination. CoreLocation updates the device current location coordinates.
How can I check if the device follows the direction routes after the device starts to move?
Any API can change viewing map perspective from top view to street view in MKMapView?
Normal GPS provides this feature when the driver drives to local after off the highway.

What happens when a user taps map in Apple Watch?

I'm developing a Apple Watch app but I'm not one of the lucky guys who got the watch earlier. It says that when a user taps a map it opens the native maps app.
When I place a red marker on the static map, will it be displayed in the native maps app as well?
I think there is no way to directly start a navigation from the watch app but if anybody knows how this - pretty common - use case can be handled I would be glad to get some advice.
It will open the native Maps app centred on the point where your annotation/marker was, but it won't be displayed. I haven't been able to confirm the behaviour if you have multiple markers, however.
Source: one of the lucky guys/dev forums

Resources