ios - Location sensor not giving location on ios when enabled on Delphi
问题描述
I'm developing an app for ios and android on Delphi. I have a location sensor that is active. It works without problems on android but on ios it does not work. The program never goes into onlocationchanged event of the sensor location so I cannot get the location of the device. Do I forget anything about uses or something to make the sensor work on ios?
Thank you.
解决方案
谢谢你,戴夫!我必须访问质量门户更多...
解决方案是:
可以通过将单元复制到项目文件夹并注释掉第 151 行(locationManagerDidUpdateLocations 的 MethodName 属性)来解决此问题
推荐阅读
- mongodb - MongoDB:在构面内加入集合的有效方法
- javascript - 使用python从网页下载文件而不打开网页
- c# - 在 LINQ Query net core 3 中使用函数逻辑
- entity-framework - 在不使用主键的 EF Core 3 中为一对多配置导航属性?
- android - 有没有办法重新启用 RecyclerView 触摸事件?
- react-native - 为什么Android模拟器右上角有红色?
- python - 需要帮助拼接列表
- r - Group_by、转置、变异、mahalanobis
- google-sheets - 使用另一个数组/范围的值循环遍历一个数组/范围
- pandas - 将 pandas cut 应用于 bin 取决于列值的分组项目