转帖:http://www.delphixebbs.com/thread-htm-fid-2.html在Delphi XE2 FireMonkey程序里使用在iOS设备上的GPS及Compass概述:在这篇文档中,将向你展示如何解析 CoreLocation 以及如何使用iOS下的GPS, Compass(罗盘)为了能在Delphi FireMonkey程序里使用在iOS设备上的GPS及Compass,首先你需要解析CoreLocation headers. 最简单的方法是下载解析输入文件 (在打开这一页的最上面那个链接)。然后你就可以用命令来解析这个headers.  此例中,你应该在Mac使用命令行运行 ./parse-corelocation.shYou 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:
  corelocation directory
  AnonClassDefinitionsCoreLocation.pas
  CoreLocation.pas可参考如下视频:向你展示如何在Delphi XE2使用FireMonkey开发iOS引用,访问GPS位置信息及Compass方向数据。
视频播放
转自:http://www.delphixebbs.com