GithubHelp home page GithubHelp logo

Comments (8)

droplet-js avatar droplet-js commented on June 12, 2024

为毛要修改?

from wechat_kit.

ZXCheng avatar ZXCheng commented on June 12, 2024

为毛要修改?

LSApplicationQueriesSchemes:微信文档里面是这三个;
NSAppTransportSecurity:注释部分会导致广告插件使用原生控件展示图片无法显示。

from wechat_kit.

droplet-js avatar droplet-js commented on June 12, 2024

新版的已经加上三个scheme了

from wechat_kit.

droplet-js avatar droplet-js commented on June 12, 2024

ruby脚本改好了,等ci通过后发个新版 …

from wechat_kit.

ZXCheng avatar ZXCheng commented on June 12, 2024

ruby脚本改好了,等ci通过后发个新版 …
好的好的,感谢及时恢复,这个问题困扰了我一整天,才找出来

from wechat_kit.

droplet-js avatar droplet-js commented on June 12, 2024

不是很懂 NSAllowsArbitraryLoadsInWebContent 引发图片无法显示问题 ...

NSAllowsArbitraryLoadsInWebContent
设置为 YES,解除通过 web view 发出的网络请求的 ATS 限制。启用这个键,可以使 app 访问任意网页内容,但不影响 app 的总体 ATS 策略。此键值默认为 NO。

from wechat_kit.

droplet-js avatar droplet-js commented on June 12, 2024

卧槽,明白了 ...
iOS 坑爹 ...
集成网易七鱼遇到的坑,导致SDWebImage无法加载网络图片

from wechat_kit.

ZXCheng avatar ZXCheng commented on June 12, 2024

不是很懂 NSAllowsArbitraryLoadsInWebContent 引发图片无法显示问题 ...

NSAllowsArbitraryLoadsInWebContent
设置为 YES,解除通过 web view 发出的网络请求的 ATS 限制。启用这个键,可以使 app 访问任意网页内容,但不影响 app 的总体 ATS 策略。此键值默认为 NO。

截屏2023-06-06 17 38 43
截屏2023-06-06 17 39 02

NSAllowsArbitraryLoads ,NSAllowsArbitraryLoadsInWebContent 都设置为 YES,HTTP只有 WKWebView 支持,广告插件具体怎么实现我没细看,如果广告图片是以 http 开头,就加载不出来了

from wechat_kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.