[英]Will Xamarin app run on windows phone?
What is the best way to write for iPhone, Android and Windows phone ? 为iPhone,Android和Windows手机编写的最佳方式是什么? If I'm writing in C# and using Xamarin will my app run on the windows phone as well ? 如果我用C#编写并使用Xamarin,我的应用程序也会在Windows手机上运行吗?
You can share any code written with the BCLs that are included with Xamarin (or any library built on top of those). 您可以共享使用Xamarin (或任何基于这些库构建的库) 包含的BCL编写的任何代码。
You will then need to write a custom Windows Phone application that uses those libraries. 然后,您需要编写使用这些库的自定义Windows Phone应用程序。 It is easiest to think of this as the "UI" of your application. 最简单的方法是将其视为应用程序的“UI”。 You cannot share UI code between iOS, Android, and Windows Phone. 您无法在iOS,Android和Windows Phone之间共享UI代码。
The MWC app is probably the best example of how to architect a solution that spans the 3 platforms. MWC应用程序可能是如何构建跨越3个平台的解决方案的最佳示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.