微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

c# – 如何在WinPhone 8.1 Xamarin便携式项目中使用XFGloss

我正在制作一个便携式xamarin应用程序,我正在使用 XFGloss.在Android和iOS上一切正常,但在WinPhone 8.1上我的BackGroud Gradiant仍然是黑色的.

我的页面有:

<xfg:ContentPageGloss.BackgroundGradient>
  <xfg:Gradient Rotation="150">
      <xfg:GradientStep StepColor="#305E70" StepPercentage="0" />
      <xfg:GradientStep StepColor="#305E70" StepPercentage="1" />
  </xfg:Gradient>
</xfg:ContentPageGloss.BackgroundGradient>

在,Android和iOS我应该初始化xfgloss,像这样:

-Android

XFGloss.Droid.Library.Init(this,bundle);

-iOS

XFGloss.iOS.Library.Init();

而且我没有找到如何在WinPhone上初始化XFGloss,甚至知道是否必须初始化它.

enter image description here

如何使这适用于WinPhone?

解决方法

XFGloss不支持Windows.我想它永远不会支持WP8,但有时它可能会得到UWP的支持.至少 there is issue

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐