0
我有一個簡單的Windows10 Web應用程序,由MS Appstudio生成https://appstudio.windows.com/ =>「託管Web應用程序」。 該應用只使用「Package.appxmanifest」並加載移動優化網站。如果授予位置許可,請檢入托管的Web應用程序
在我使用的Web App中。 是否可以從https://docs.microsoft.com/en-us/windows/uwp/maps-and-location/get-location集成「更改位置隱私設置」功能?
<!--Set Visibility to Visible when access to location is denied -->
<TextBlock x:Name="LocationDisabledMessage" FontStyle="Italic"
Visibility="Collapsed" Margin="0,15,0,0" TextWrapping="Wrap" >
<Run Text="This app is not able to access Location. Go to " />
<Hyperlink NavigateUri="ms-settings:privacy-location">
<Run Text="Settings" />
</Hyperlink>
<Run Text=" to check the location privacy settings."/>
</TextBlock>