【发布时间】:2017-07-19 12:22:21
【问题描述】:
在我的应用程序中,我开始聆听这样的重大位置变化:
AllowsBackgroundLocationUpdates := true;
startMonitoringSignificantLocationChanges;
在 info.plist 我也有:
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
然后我决定重新启动 iphone。在我走遍整个城市后,我注意到 DidUpdateLocations 再也没有被调用过 :( 我错过了什么?
如果重要的话,我也在 Delphi...
【问题讨论】:
-
您的应用程序是否在 iPhone 重启后重新启动?还是第一次使用时启动(由您启动)?
-
这是问题所在,iphone重启后应用程序无法启动:(
标签: ios delphi core-location firemonkey