For forums, blogs and more please visit our
Developer Tools Community.
By: Anders Ohlsson
Abstract: In this article I will describe how to parse CoreLocation and how to use the GPS and the Compass on iOS
In order to use the GPS and/or Compass on an iOS device from a Delphi FireMonkey iOS application, you first have to parse the CoreLocation headers. The easiest way to do so is to download the parser input files (top link on this page). You then follow the rest of the instructions to actually parse the headers. In this particular case you would run ./parse-corelocation.sh from your Mac command line.
You can then choose to either compile and link the headers according to the instructions on the page mentioned above, or you can simply take these three things and put them parallel to your FireMonkey application source code:
Now you're all ready to use CoreLocation in your application.
Full source code
Could not retrieve comments. Please try again later.
Download Delphi 10 now!
Webinars on demand!
More social media choices:
Delphi on Google+
@RADTools on Twitter
Server Response from: ETNASC04