如何获得“隐私政策”低于“Rate&回顾"在设置窗格中? [英] How to get "Privacy Policy" below "Rate & Review" in settings pane?

查看:62
本文介绍了如何获得“隐私政策”低于“Rate&回顾"在设置窗格中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用:



WinJS.Application.onsettings = function(e){

    e.detail.e.request.applicationCommands.append(Windows.UI.ApplicationSettings.SettingsCommand.accountsCommand);

    var command = new Windows.UI.ApplicationSettings.SettingsCommand(" Privacy"," Privacy Policy",function(){

    Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(" https://my.com/privacy"))

  });

    e.detail.e.request.applicationCommands.append(command);

  }


填写设置窗格。但是,"隐私政策"是指"隐私政策"。 entry始终是最顶层的,尽管它最后附加到applicationCommands数组。我看过Mail&天气应用程序的私人政策条目低于权限,
费率和审核条目。如何实现?

解决方案

一个类似的线程:

https://social.msdn.microsoft.com/Forums/windowsapps/en-US/e14e37e5-6e59-49cf-94e0-045063c14b1d/how-to-include-a-link-to-your-privacy-政策上的设定窗格?论坛= winappswithcsharp

I am using:

WinJS.Application.onsettings = function(e) {
    e.detail.e.request.applicationCommands.append(Windows.UI.ApplicationSettings.SettingsCommand.accountsCommand);
    var command = new Windows.UI.ApplicationSettings.SettingsCommand("Privacy", "Privacy Policy", function(){
      Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri("https://my.com/privacy"))
    });
    e.detail.e.request.applicationCommands.append(command);
  }

To fill the settings pane. However, the "Privacy Policy" entry is always the top one, although its appended last to the applicationCommands array. I have seen the Mail & Weather apps having their private policy entry below the permissions and rate&review entries. How to achieve that?

解决方案

A similar thread:
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/e14e37e5-6e59-49cf-94e0-045063c14b1d/how-to-include-a-link-to-your-privacy-policy-on-the-setting-pane?forum=winappswithcsharp


这篇关于如何获得“隐私政策”低于“Rate&回顾"在设置窗格中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆