【问题标题】:How to customise dialog message to prompt user for opening setting page如何自定义对话框消息以提示用户打开设置页面
【发布时间】:2020-09-21 19:49:10
【问题描述】:

我的尝试:
1. Its a OS generated dialog for open setting page

2. Didn't find any String to modify this info.plist file
P.S - 已经有这个键 NSLocationAlwaysUsageDescription 此应用程序需要您的位置,以便我们可以将地图以您为中心并向您显示项目所在的位置
但我认为它使用“UIApplicationOpenSettingsURLString”

3. Using "permission_handler" plugin
请帮我在flutter中修改这个消息对话框

【问题讨论】:

    标签: ios flutter flutter-dependencies user-permissions runtime-permissions


    【解决方案1】:

    在 iOS 6 之前,可以在 CLLocationManager 类上设置 purpose 属性,但长期以来一直不赞成使用 Info.plist 中的 NSLocationAlwaysUsageDescription 和 NSLocationWhenInUseUsageDescription 字符串。

    据我所知,没有其他方法可以替换此消息。查看原始文档

    Apple Developer Documentation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-16
      相关资源
      最近更新 更多