C# 4.0 Initialrotationpreference未正确应用于windows 8.1 WinRT应用程序中的启动屏幕

C# 4.0 Initialrotationpreference未正确应用于windows 8.1 WinRT应用程序中的启动屏幕,c#-4.0,windows-store-apps,winrt-xaml,C# 4.0,Windows Store Apps,Winrt Xaml,在windows 8.1 winrt项目的Package.appxmanifest中,如果将初始旋转首选项设置为纵向 <m2:VisualElements DisplayName="SplashScreen" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="SplashScreen" ForegroundText="light" BackgroundColor="

在windows 8.1 winrt项目的Package.appxmanifest中,如果将初始旋转首选项设置为纵向

<m2:VisualElements DisplayName="SplashScreen" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="SplashScreen" ForegroundText="light" BackgroundColor="#464646">
  <m2:SplashScreen Image="Assets\SplashScreen.png" />
    <m2:InitialRotationPreference>
       <m2:Rotation Preference="portrait" />
    </m2:InitialRotationPreference>
</m2:VisualElements>

如果windows 8/windows 8.1/windows 10平板电脑以横向模式放置,则启动屏幕首先以横向模式显示,然后旋转到纵向模式,但windows universal apps没有观察到相同的问题

有没有办法把启动画面变成肖像?
有人遇到过这个问题吗?

我已在中上载了示例代码,尝试将代码缩短为可以重现您的问题且足够短以包含在问题中的代码。我已在中上载了示例代码,尝试将代码缩短为可以重现您的问题且足够短以包含在问题中的代码。