简体   繁体   English

Flutter:打开 iOS iPhone 设置页面

[英]Flutter: Open iOS iPhone Settings page

Is there any way to open Location settings page in iOS using flutter?有没有办法使用flutter在iOS中打开位置设置页面? I don't want a native solution.我不想要本机解决方案。

我已经使用了这个包,到目前为止完成了这项工作: https : //pub.dev/packages/app_settings

AppSettings.openLocationSettings()

As @Nick Ponomar mentioned, App Settings package from pub.dev is a great choice.正如@Nick Ponomar 所提到的,来自 pub.dev 的 App Settings 包是一个不错的选择。

I just want to mention that it also offers openAppSettings method, which leads you to the settings screen/page for your app (ie the one that called the method openAppSettings ).我只想提一下,它还提供了openAppSettings方法,它会引导您进入应用程序的设置屏幕/页面(即调用openAppSettings方法的openAppSettings )。 That settings screen contains all permission which your app requested since it was installed, whether they are enabled or disabled.该设置屏幕包含您的应用自安装以来请求的所有权限,无论它们是启用还是禁用。

Example of app settings screen for WhatsApp: WhatsApp 的应用程序设置屏幕示例: 应用程序设置屏幕示例 - 来自 techknowzone.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM