I'm trying something like this to launch the compass from within my app:
NSString *stringURL = @"compass://";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];
does anyone know the correct url to use to launch the compass app?
http://wiki.akosma.com/IPhone_URL_Schemes - I'm using this as a reference, but nothing about the compass is posted.
thanks for any help.
Just tap on the GPS coordinates in the Compass app to launch Maps. You then can tap the navigation icon in the bottom left until you turn on compass mode, which will orient the map with magnetic north. Once you know where north is on the map, you can find your target on the map and guesstimate your direction of travel.
The Compass app comes built-in on every new iPhone, and it's helpful when you want to make sure you're going in the right direction.
Compass∞ on the App Store.
With iOS 12, Apple has moved the feature into the new Measure app, completely removing its function in the Compass app. For more help getting the most out of your Apple devices, check out our how to guide as well as the following articles: How to add App Store and iTunes gift cards on iPhone and iPad.
A quick look at Compas.app's Info.plist shows no declaration of custom URL type, which means there is no public way to open it from your app, sorry.
The compas app does not have an app URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With