【问题标题】:UIWebView warning in Xamarin Forms iOSXamarin Forms iOS 中的 UIWebView 警告
【发布时间】:2020-04-21 20:49:08
【问题描述】:

将我的 .ipa 发送给 Apple,我收到了以下警告:

Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

我仔细关注this solution

  • Forms 4.5 或更新版本。
  • Xamarin.iOS 13.10.0.17
  • Visual Studio 16.4.3
  • 附加 mtouch 参数字段中的此标志:--optimize=experimental-xforms-product-type

仍然收到警告。

我认为是因为我在项目中引用了 Telerik 控件,但我也遵循了这个solution

还没有运气

【问题讨论】:

标签: visual-studio xamarin.forms xamarin.ios telerik


【解决方案1】:

This post有答案

在我的项目中,我作为 nuget 引用了

Xamarin.Forms.Visual.Material

并且 this 内部引用了

Xamarin.iOS.MaterialComponents

组件的版本很旧 (72),所以我将最新版本的 Xamarin.iOS.MaterialComponents(现在是 92)作为新的 nuget 添加,上传了新的 .IPA 并且错误消失了。

【讨论】:

  • 能否请您稍后标记此答案,这将帮助更多有相同问题的人:)。
猜你喜欢
  • 2018-10-26
  • 2014-02-06
  • 2017-07-19
  • 2013-07-09
  • 2020-04-13
  • 1970-01-01
  • 2021-12-30
  • 2018-02-24
  • 1970-01-01
相关资源
最近更新 更多