本文介绍了在WP上启动新的App View的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在WP上启动一个新的应用程序视图。

I am trying to start a new application view on WP.

根据

http://msdn.microsoft.com/en-us/library/windows/apps/ WP.支持windows.applicationmodel.core.coreapplication.createnewview.aspx

但该链接中的两个函数都表示它们不支持WP。

this is supported on WP, however both of the functions in that link say they do not support WP.

var newView = CoreApplication.CreateNewView();

在桌面上工作,但不在WP中工作

Does work on the Desktop, but not in WP

看来CreateNewView()在桌面上工作,而不是在WP上。 WP想要CreateNewView(字符串,字符串),但我没有看到任何示例,似乎无法使其工作。继续上课没有注册的例外

It appears that CreateNewView() works on desktop, not on WP. WP wants CreateNewView(string, string) but I haven't seen any examples and can't seem to get this working. Keep getting class not registered exceptionshttp://stackoverflow.com/questions/25796837/create-new-view-window-on-windows-phone

推荐答案

是的,不支持CoreApplication.CreateNewView(String,String)和CoreApplication.CreateNewView() 方法Windows Phone。

Yes, the CoreApplication.CreateNewView(String, String) and CoreApplication.CreateNewView() method do not been supported on the Windows Phone.

有关详细信息,请参阅以下文章:
$
#CoreApplication.CreateNewView(String,String)方法:

For more information, please try to refer to the following article:
#CoreApplication.CreateNewView(String, String) method:
http://msdn.microsoft.com/en-us/library/windows/apps/br225020.aspx .

#CoreApplication.CreateNewView()方法:

http://msdn.microsoft.com/en-us/library/windows/apps/dn297291.aspx

#CoreApplication.CreateNewView() method:
http://msdn.microsoft.com/en-us/library/windows/apps/dn297291.aspx .

最好的问候,

Amy Peng

Best Regards,
Amy Peng


这篇关于在WP上启动新的App View的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 00:03