Xaml Windows应用商店应用程序:如何从设置中删除权限选项卡
在我的应用程序中,我添加了如下设置选项卡Xaml Windows应用商店应用程序:如何从设置中删除权限选项卡,xaml,windows-8,windows-runtime,windows-store-apps,windows-8.1,Xaml,Windows 8,Windows Runtime,Windows Store Apps,Windows 8.1,在我的应用程序中,我添加了如下设置选项卡 internal static class AccountSettings { public static void Initialise() { SettingsPane settingsPane = SettingsPane.GetForCurrentView(); settingsPane.CommandsRequested += settingsPane_CommandsRequested;
internal static class AccountSettings
{
public static void Initialise()
{
SettingsPane settingsPane = SettingsPane.GetForCurrentView();
settingsPane.CommandsRequested += settingsPane_CommandsRequested;
}
private static void settingsPane_CommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args)
{
SettingsCommand accountSettings = new SettingsCommand("accSettings", "Account Settings", (uiCommand) =>
{
ShowSettingsPanel();
});
args.Request.ApplicationCommands.Add(accountSettings);
}
private static void ShowSettingsPanel()
{
var flyout = new SettingsFlyout();
flyout.Title = "Account Settings";
flyout.Content = new AccountSettingsPage();
flyout.Show();
}
}
我正在打电话
AccountSettings.Initialise()
来自App.xaml.cs
它会在设置中添加此选项卡,但默认情况下,已添加一个显示应用权限的权限选项卡。如何删除此权限选项卡
您不能从“设置”弹出按钮中删除权限。您只能将自定义命令添加到它。我至少可以更改它的位置吗?我看到一些应用程序的“费率和审核”选项卡位于权限之后。我怎么知道?不,我不这么认为。只要你的清单中有用户可以控制的功能,比如地理位置、麦克风和网络摄像头,权限就会出现。权限是用户可以打开或关闭这些权限的地方。应用程序在商店中发布后,将显示Rate&Review。它不会出现在开发中的应用程序或未从商店购买的侧装应用程序中。