如何解决如何处理Xamarin Forms iOS设备中拒绝的权限
我遇到“ xamarin.essentials.permission异常消息=未授予使用权限时的位置:拒绝”,我也不知道如何处理。
我正在使用xam.plugin.geolocator,这是我的plist
context.scale(-1,1)
这是我的appdelegate
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>This app needs access to location when open.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>This app needs access to location when in the background.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>This app needs access to location when open and in the background.</string>
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
要复制,我只是将应用程序部署在设备中。打开后,它将要求您许可。点击“不允许”。
有什么见解吗?
TIA。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。